-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support OTEL_TRACES_EXPORTER in distro (#300)
* Support OTEL_PROPAGATORS in distro * Revert upgrade to otel v1.3 * Isolate distro pkg to fix test failure * Add changes to changelog * Add distro README * Formatting and grammar fixes for distro/README.md * Lazy load default propagator if unspecified * Fix WithEndpoint and WithAccessToken docs to match * Revert Validate comment * Simplify WithEndpoint default value doc * Support OTEL_PROPAGATORS in distro * Revert upgrade to otel v1.3 * Support OTEL_TRACES_EXPORTER in distro * Add exporterConfig validation * Lazy evaluate TraceExporterFunc * Add config docs to distro/README.md * Fix default OTLP endpoint * Test for goroutine leaks with goleak * Document WithEndpoint per exporter configuration * Honor OTel envars before default endpoints * Use default propagator const * Document how invalid envar is handled * Remove duplicate set of global TextMapPropagator * Clean up docs * Remove config validation Config validation only serves to ensure the endpoint is a valid URL currently. The OTLP exporter accepts host:port endpoints that do not conform to this validation but are still valid. Remove the validation and have the exporter setup perform this instead. * Remove unused Propagator field from exporterConfig * Test the OTLP exporter setup * Add WithTLSConfig option * Add WithTLSConfig docs to distro/README.md * Move exporter init to own file * Fix lint * Add TestInvalidTraceExporter * Clean up otel_test * Test Run with defaults per exporter * Test none exporter * Ignore test func length linting * Add TLS exporter tests * Unify TLS creation * Refactor otel_test.go * Fix spelling error * Add changes to changelog * Update CHANGELOG.md Co-authored-by: Robert Pająk <rpajak@splunk.com> * Log grpc Server serve error * Do not error on "none" trace exporter value Co-authored-by: Robert Pająk <rpajak@splunk.com>
- Loading branch information
Showing
38 changed files
with
4,002 additions
and
177 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
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
Oops, something went wrong.