Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update to entirely rely on OTEL config #11

Merged
merged 6 commits into from
Jul 25, 2024
Merged

Conversation

owenvoke
Copy link
Member

@owenvoke owenvoke commented Jul 22, 2024

This updates to remove the telemetry.enabled config key, and move to fully match the OTEL SDK configuration. This makes usage easier, and also means that "no-op" instances will be used, rather than returning null for the bindings.

It also cleans up nnecessary code complication (e.g. the full initialisation of MeterProvider), ensures that changes to the config in runtime apply to the OTEL SDK, and adds some initial tests.

@owenvoke owenvoke force-pushed the feature/otel-config branch from b700a52 to fd12161 Compare July 23, 2024 09:07
@owenvoke owenvoke force-pushed the feature/otel-config branch from 147fc5b to 95916f3 Compare July 23, 2024 09:49
@owenvoke owenvoke force-pushed the feature/otel-config branch 3 times, most recently from 5326d06 to d2d7acd Compare July 23, 2024 10:12
@owenvoke owenvoke force-pushed the feature/otel-config branch from d2d7acd to cda0794 Compare July 23, 2024 10:17
@owenvoke owenvoke merged commit d2d5146 into main Jul 25, 2024
10 checks passed
@owenvoke owenvoke deleted the feature/otel-config branch July 25, 2024 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants