Failed to export metrics. Server responded with UNIMPLEMENTED. This usually means that your collector is not configured with an otlp receiver in the "pipelines" section of the configuration. If export is not desired and you are using OpenTelemetry autoconfiguration or the javaagent, disable export by setting OTEL_METRICS_EXPORTER=none. Full error message: unknown service opentelemetry.proto.collector.metrics.v1.MetricsService #7905
Replies: 1 comment 2 replies
-
hi @wesleyzup! it looks like this is configurable using |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using the spring boot autoconfigure with the following dependencies:
SpringBoot autoconfiguration for opentelemetry
Jaeger container configuration
The problem is that I can't disable the message:
i.o.e.internal.grpc.OkHttpGrpcExporter : Failed to export metrics. Server responded with UNIMPLEMENTED. This usually means that your collector is not configured with an otlp receiver in the "pipelines" section of the configuration. If export is not desired and you are using OpenTelemetry autoconfiguration or the javaagent, disable export by setting OTEL_METRICS_EXPORTER=none. Full error message: unknown service opentelemetry.proto.collector.metrics.v1.MetricsService.
I already tried setting up the environment variable OTEL_METRICS_EXPORTER=none, but this variable isn't interpreted by opentelemetry-spring-boot-start, because the error continue being showed at the console log.
When I execute a curl to the jaeger container a received the error message Received HTTP/0.9 when not allowed.
The question are:
Is there a way to connect and send the metrics successfully to the jaeger ?
What library should I use to fix this problem?
Is there some example to resolve this message using opentelemetry-spring-boot-starter and jaeger?
I'm waiting for your help.
Thank you
Beta Was this translation helpful? Give feedback.
All reactions