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

[processor/metricstransform] Do not produce empty metrics #12211

Merged

Conversation

dmitryax
Copy link
Member

Some transformations can leave metrics with no data points. Those metrics can be considered invalid and should not be generated. This change updates metricstransform processor to not produce empty metrics.

Resolves #12210

@dmitryax dmitryax requested a review from a team as a code owner July 10, 2022 06:59
@dmitryax dmitryax requested a review from pmm-sumo July 10, 2022 06:59
Some transformations can leave metrics with no data points. Those metrics can be considered invalid and should not be generated. This change updates metricstransform processor to not produce empty metrics.
@dmitryax dmitryax force-pushed the metric-transform-remov-empty-metric branch from 1f3c998 to 7b04502 Compare July 10, 2022 07:00
@dmitryax dmitryax changed the title Do not produce empty metrics [processor/metricstransform] Do not produce empty metrics Jul 10, 2022
@dmitryax
Copy link
Member Author

cc @TylerHelmuth as you reviewed it before :)

@dmitryax dmitryax merged commit 100d245 into open-telemetry:main Jul 11, 2022
atoulme pushed a commit to atoulme/opentelemetry-collector-contrib that referenced this pull request Jul 16, 2022
…etry#12211)

* Do not produce empty metrics

Some transformations can leave metrics with no data points. Those metrics can be considered invalid and should not be generated. This change updates metricstransform processor to not produce empty metrics.

* add a comment
ag-ramachandran referenced this pull request in ag-ramachandran/opentelemetry-collector-contrib Sep 15, 2022
* Do not produce empty metrics

Some transformations can leave metrics with no data points. Those metrics can be considered invalid and should not be generated. This change updates metricstransform processor to not produce empty metrics.

* add a comment
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.

[processor/metricstransform] Do not produce empty metrics
3 participants