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

[mdatagen] Add support for unstable metric sources to new metrics builder #6520

Conversation

dmitryax
Copy link
Member

@dmitryax dmitryax commented Dec 4, 2021

Some metrics scrapers cannot guarantee that all metrics are available on every scrape. This change adds support for such metric sources in the new metrics builder, so it doesn't emit metrics that didn't receive any data points.

Tracking issue: open-telemetry/opentelemetry-collector#10904

@dmitryax dmitryax requested review from a team and jpkrohling December 4, 2021 00:22
@dmitryax dmitryax changed the title [mdatagen] Add support for unstable metric sources [mdatagen] Add support for unstable metric sources to new metrics builder Dec 4, 2021
Some metrics scrapers cannot guarantee that all metrics are available on every scrape. This change adds support for such metrics in the new metrics builder, so it doesn't add emit metrics that didn't receive any data points.
@dmitryax dmitryax force-pushed the mdata-gen-support-inconsistent-metrics branch from 2bee8bf to 9036728 Compare December 4, 2021 00:40
@jpkrohling jpkrohling merged commit f841bce into open-telemetry:main Dec 6, 2021
@dmitryax dmitryax deleted the mdata-gen-support-inconsistent-metrics branch December 9, 2021 22:22
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.

3 participants