-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
handle OTEL_EXPORTER_OTLP_TRACES and fix unix endpoints (#100)
* handle OTEL_EXPORTER_OTLP_TRACES env variables Defined in https://github.com/open-telemetry/opentelemetry-specification/blob/v1.8.0/specification/protocol/exporter.md These variables are defined more specifically so take priority over the generic vars if set. Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> * fix handling of unix URLs Unix URLs should not need any special handling but current implementation handles values without the schema that is not allowed by the spec. If this can be removed in the future then all these exceptions can be removed as well and WithInsecure is automatically detected by the endpoint value in otlptracegrpc package. Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
- Loading branch information
1 parent
86c6b24
commit 8488238
Showing
2 changed files
with
16 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters