You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please describe the feature request.
The OTel specification defines that OTLP exporters SHOULD emit a User-Agent header identifying the exporter and its version.
OpenTelemetry protocol exporters SHOULD emit a User-Agent header to at a minimum identify the exporter, the language of its implementation, and the version of the exporter. For example, the Python OTLP exporter version 1.2.3 would report the following:
OTel-OTLP-Exporter-Python/1.2.3
Right now, when using the OTLP registry in Micrometer, I get this "default" user agent Java/21.*. It makes it difficult to identify error with requests coming from micrometer apps using the OTLP registry.
Rationale
The exporter should follow the specification and emit the header with a more clear value. For example OTel-OTLP-Exporter-Micrometer/1.2.3
The text was updated successfully, but these errors were encountered:
Thank you for the issue!
If OTel-OTLP-Exporter-Python/1.2.3 represents the "Python OTLP exporter version 1.2.3" (I assume OTel represents the OTel SDK, though the spec does not say it), I think Micrometer should use something like this:
Micrometer-OTLP-Exporter-Java/1.2.3
Are you interested in filing a PR?
We could do something like this:
Yes, I can send a PR for it! Just may need help with the version thing as I'm not that familiar with the codebase and how to get it. Feel free to assign this to me :)
Please describe the feature request.
The OTel specification defines that OTLP exporters SHOULD emit a
User-Agent
header identifying the exporter and its version.https://github.com/open-telemetry/opentelemetry-specification/blob/v1.37.0/specification/protocol/exporter.md#user-agent
Right now, when using the OTLP registry in Micrometer, I get this "default" user agent
Java/21.*
. It makes it difficult to identify error with requests coming from micrometer apps using the OTLP registry.Rationale
The exporter should follow the specification and emit the header with a more clear value. For example
OTel-OTLP-Exporter-Micrometer/1.2.3
The text was updated successfully, but these errors were encountered: