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

Drop on-demand-metric-reader package #117

Merged
merged 2 commits into from
Sep 6, 2023
Merged

Conversation

arendjr
Copy link
Collaborator

@arendjr arendjr commented Sep 6, 2023

This simplifies things a bit more by not needing the OnDemandMetricReader. It does feel a bit hacky to use the PeriodicExportingMetricReader when there's no periodic scheduling, but it's that or overengineering, and it probably doesn't matter in practice.

PS.: I've also created a PR with opentelemetry-js to see how they would like to resolve the situation, although I wouldn't really expect a solution before SDK 2.0 at least: open-telemetry/opentelemetry-js#4121

@arendjr arendjr merged commit b2c767a into main Sep 6, 2023
1 check passed
@arendjr arendjr deleted the drop-on-demand-metric-reader branch September 6, 2023 10:20
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.

2 participants