Skip to content

[BUG] Brokers/Controllers enter crashloop when OTLP HTTP metrics exporter is enabled #3253

@gjpin

Description

@gjpin

AutoMQ Version

1.6.4-strimzi

Operating System

Bottlerocket 1.56

Installation Method

other

Hardware Configuration

  • 4 cores
  • 16GB of memory

Other Relevant Software

  • Kafka 3.9.0
  • Strimzi 0.47
  • Kubernetes 1.35

What Went Wrong?

AutoMQ crashes with the following error in the logs:

kafka java.lang.AbstractMethodError: Receiver class io.opentelemetry.exporter.sender.okhttp.internal.OkHttpHttpSenderProvider does not define or inherit an implementation of the resolved method 'abstract io.opentelemetry.exporter.internal.http.HttpSender createSender(java.lang.String, io.opentelemetry.exporter.internal.compression.Compressor, boolean, java.lang.String, long, long, java.util.function.Supplier, io.opentelemetry.exporter.internal.auth.Authenticator, io.opentelemetry.sdk.common.export.RetryPolicy, javax.net.ssl.SSLContext, javax.net.ssl.X509TrustManager)' of interface io.opentelemetry.exporter.internal.http.HttpSenderProvider.

What Should Have Happened Instead?

AutoMQ should not crash and should send the metrics in OTLP format to the defined OTLP endpoint.

Steps to Reproduce

Configure AutoMQ to export metrics via OTLP with the following configuration:

s3.telemetry.metrics.exporter.type=otlp
s3.telemetry.exporter.otlp.protocol=http
s3.telemetry.exporter.otlp.endpoint=http://${endpoint}:9090/api/v1/otlp/v1/metrics

Source: https://github.com/automq/automq/wiki/Integrating-Metrics-with-Prometheus

Additional Information

Related issue: #3111
Relevant PR that should fix this issue: #3124
Image in use: docker.io/automqinc/automq:1.6.4-strimzi

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions