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

Add file configuration to autoconfigure #5831

Merged

Conversation

jack-berg
Copy link
Member

@jack-berg jack-berg commented Sep 13, 2023

Makes file based configuration available in autoconfigure when opentelemetry-sdk-extension-incubator is on the classpath and when OTEL_CONFIG_FILE is specified.

Also resolves #5827 by registering shutdown hooks.

@jack-berg jack-berg requested a review from a team as a code owner September 13, 2023 23:03
@codecov
Copy link

codecov bot commented Sep 13, 2023

Codecov Report

Attention: 5 lines in your changes are missing coverage. Please review.

Files Coverage Δ
...nfigure/AutoConfiguredOpenTelemetrySdkBuilder.java 94.27% <86.84%> (+2.34%) ⬆️

... and 2 files with indirect coverage changes

📢 Thoughts on this report? Let us know!.

@trask
Copy link
Member

trask commented Sep 13, 2023

ah, cool, I see the vision now, I think it's ok to not add the shutdown hook to the (standalone) FileConfiguration part

@jack-berg jack-berg merged commit ef3fef9 into open-telemetry:main Oct 9, 2023
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ConfigurationFactory doesn't register shutdown hooks
3 participants