Skip to content
Merged
Changes from 3 commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
4cd0572
feat(exporters): add user-agent enrichment
david-luna Jun 18, 2025
85e8cd4
Merge branch 'main' into enrich-user-agent-header
david-luna Jun 23, 2025
10e3445
Merge branch 'main' into enrich-user-agent-header
david-luna Jun 30, 2025
d7d96d7
chore: be more strict about env vars
david-luna Jun 30, 2025
95de585
Merge branch 'main' into enrich-user-agent-header
david-luna Jun 30, 2025
aeecfa9
Merge branch 'enrich-user-agent-header' of github.com:david-luna/open…
david-luna Jun 30, 2025
9c7d84e
Merge branch 'main' into enrich-user-agent-header
david-luna Jul 10, 2025
3af4d2a
chore: add changelog entry
david-luna Jul 22, 2025
2432595
Merge branch 'main' into enrich-user-agent-header
david-luna Jul 22, 2025
ead0ae4
Merge branch 'main' into enrich-user-agent-header
david-luna Jul 24, 2025
fe4c11c
Merge branch 'main' into enrich-user-agent-header
david-luna Aug 19, 2025
2180ed3
Update specification/protocol/exporter.md
david-luna Aug 20, 2025
9fc03d6
Update specification/protocol/exporter.md
david-luna Aug 20, 2025
2451ae2
Update specification/protocol/exporter.md
david-luna Aug 20, 2025
41950b9
Update specification/protocol/exporter.md
david-luna Aug 20, 2025
ba49060
Update specification/protocol/exporter.md
david-luna Aug 21, 2025
f9eaedb
Update CHANGELOG.md
david-luna Aug 21, 2025
9bc7dca
Update CHANGELOG.md
david-luna Aug 21, 2025
abb5c1b
fix: fix lint issue
david-luna Aug 28, 2025
0b53685
Merge branch 'main' into enrich-user-agent-header
david-luna Aug 28, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions specification/protocol/exporter.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,21 @@ OTel-OTLP-Exporter-Python/1.2.3

The format of the header SHOULD follow [RFC 7231][rfc-7231]. The conventions used for specifying the OpenTelemetry SDK language and version are available in the [Resource semantic conventions][resource-semconv].

Exporters MAY expose a configuration option to append a product identifier to the User-Agent
header as defined in [RFC 7231][rfc-7231]. Such option should not be available as
Comment thread
david-luna marked this conversation as resolved.
Outdated
an environment variable since is meant to be used by [distributions][opentelemetry-distribution]
to append their product identifier along with the exporter's one.

SDKs MAY expose a similar configuration option if exporters have it. This configuration
Comment thread
david-luna marked this conversation as resolved.
Outdated
MUST be overridable by a signal specific option.
Comment thread
david-luna marked this conversation as resolved.
Outdated

Comment thread
david-luna marked this conversation as resolved.
Outdated
As an example setting the option to `MyDistribution/x.y.z` in the exporter from the
above example would report the following:

```
OTel-OTLP-Exporter-Python/1.2.3 MyDistribution/x.y.z
Comment thread
david-luna marked this conversation as resolved.
Outdated
```
Comment thread
david-luna marked this conversation as resolved.
Outdated
Comment thread
david-luna marked this conversation as resolved.

[Boolean]: ../configuration/sdk-environment-variables.md#boolean
[Timeout]: ../configuration/sdk-environment-variables.md#timeout
[String]: ../configuration/sdk-environment-variables.md#string
Expand All @@ -221,3 +236,4 @@ The format of the header SHOULD follow [RFC 7231][rfc-7231]. The conventions use
[otlp-http]: https://github.com/open-telemetry/opentelemetry-proto/blob/main/docs/specification.md#otlphttp
[retryable-grpc-status-codes]: https://github.com/open-telemetry/opentelemetry-proto/blob/main/docs/specification.md#failures
[retryable-http-status-codes]: https://github.com/open-telemetry/opentelemetry-proto/blob/main/docs/specification.md#failures-1
[opentelemetry-distribution]: https://github.com/open-telemetry/opentelemetry.io/edit/main/content/en/docs/concepts/distributions.md#what-is-a-distribution
Comment thread
david-luna marked this conversation as resolved.
Outdated
Loading