-
Notifications
You must be signed in to change notification settings - Fork 895
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add user agent to OTLP exporter spec #2684
add user agent to OTLP exporter spec #2684
Conversation
707b95f
to
84bcb39
Compare
Overall good, but we need more eyes on this. @open-telemetry/specs-approvers please take a look. |
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.
f5a5afa
to
e950aef
Compare
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 |
Co-authored-by: Armin Ruech <[email protected]>
@bogdandrutu Any further opinion on this? |
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
* add user agent to OTLP exporter spec 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.
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:
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