You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Which problem is this PR solving?
As we develop more functionality into the Honeycomb distro, setting
environment variables doesn't offer enough flexability for our needs.
This PR updates the distro to instead configure both the tracer and
meter providers directly by configuring their exporters.
This will enable additional resources (eg span processors or samplers)
to be added later.
- Closes#14
- Closes#11
## Short description of the changes
- [x] Adds openetelemetry-otlp-exporter as dependency
- [x] Add create_tracer_provider func to tracing.py
- [x] Add create_meter_provider func to metrics.py
- [x] Wire tracing and meter provider pipelines using options & resource
in distro/configure_opentelemetry
- [x] Update HoneycombOptions with member functions to get trace & meter
exporter credentials & headers
- [x] Add simple test to verify new tracer / meter provider creation
funcs return expected types
- [x] Remove env var based tests from test_distro.py
- [x] Update distro/configure_opentelemetry to take HoneycombOptions arg
instead of discrete optional fields
- [x] Re-add custom instrumentation to example app to show how to create
additional spans
Co-authored-by: Robb Kidd <robbkidd@honeycomb.io>
No description provided.
The text was updated successfully, but these errors were encountered: