Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support OTEL_RESOURCE_ATTRIBUTES in the proxy (#3580)
This environment variable is definted by the OpenTelemetry conventions as a way of specifying additional resource attributes to be included in traces: https://opentelemetry.io/docs/specs/otel/configuration/sdk-environment-variables/#general-sdk-configuration Note that this is parallel to LINKERD2_PROXY_TRACE_EXTRA_ATTRIBUTES, which is meant for common attributes that should always be provided by the proxy (pod UID, contianer name, etc.). We do not expect users to override that one, as OTEL_RESOURCE_ATTRIBUTES is the conventional way of specifying custom attributes. Signed-off-by: Scott Fleener <[email protected]>
- Loading branch information