opentelemetry-specification
opentelemetry-specification copied to clipboard
add user agent to OTLP exporter spec
Changes
The following PR adds a section to the OTLP exporter about setting a user agent. This was implemented in the otel collector and provides users with additional information to troubleshoot their telemetry pipelines with. This was discussed in the context of #2501. It's worth noting that the OpenTelemetry collector is currently setting a user agent in the format:
OpenTelemetry Collector Contrib/0.53.0 (linux/amd64) grpc-go/1.47.0
Additionally, existing exporters are already sending this header (using whatever the underlying library is setting), it's just not set to anything OpenTelemetry specific.
Related issues #2501
Overall good, but we need more eyes on this.
@open-telemetry/specs-approvers please take a look.
I would make this an "option" maybe opt-out.
I would make this an "option" maybe opt-out.
@bogdandrutu today most (i believe at least all grpc and many http) OTLP exporters already have a user agent header, something like grpc-go/1.47.0, and there is no way to opt out. This PR is suggesting that the exporters should provide something more meaningful.
@bogdandrutu Any further opinion on this?
This PR was marked stale due to lack of activity. It will be closed in 7 days.