Skip to content

Conversation

neistow
Copy link

@neistow neistow commented Aug 19, 2025

Partially fixes #165

Refactored OpenTelemetryEnvironment.Configure account for specific endpoint environment variables. Introduced OpenTelemetryEnvironmentVariables helper where all well-known OTEL environment variables are defined.

More work needs to be done to support OTEL_EXPORTER_OTLP_LOGS_PROTOCOL/OTEL_EXPORTER_OTLP_TRACES_PROTOCOL and OTEL_EXPORTER_OTLP_LOGS_HEADERS/OTEL_EXPORTER_OTLP_TRACES_HEADERS variables, since with the current implementation IExporter doesn't support different protocols for traces and logs.

@nblumhardt
Copy link
Member

Thanks for sending this. Currently running tight on time to review but should be able to loop back around to it in the next week or so 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support signal-specific OTEL_EXPORTER_OTLP_LOGS_* and OTEL_EXPORTER_OTLP_TRACES_* variables
2 participants