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
… and auto-configure hooks (#22)
## Which problem is this PR solving?
Updates the distro to introduce a the HoneycombDistro class which
introduces the hook for auto configuration via BaseDistro. Also exposes
the `configure_opentelemetry` function that can be used programatically
to configure the SDK.
- Closes#10
## Short description of the changes
- Adds new HoneycombDistro class that depends on BaseDistro
- Adds `configure_opentelemetry` function that sets up the OTel SDK via
environment variables
- Adds unit tests for the distro to verify API key, endpoint and service
name can be set via parameter or env var
NOTE: env vars are used over parameters
Co-authored-by: Mike Goldsmth <goldsmith.mike@gmail.com>
No description provided.
The text was updated successfully, but these errors were encountered: