-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[processors/cumulativetodelta] getting UNSUPPORTED_METRIC_TYPE_MONOTONIC_CUMULATIVE_SUM in otel logs #33673
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Hi @TylerHelmuth could you please share your expertise here. |
Unfortunately the cummulativetodelta processor doesn't have metric type as a selection option. It could be made to have that feature. |
@TylerHelmuth If that's the case, then I as a user of OpenTelemetry want to recommend that as a feature. |
@TylerHelmuth if this is a feature that should be added, I would be happy to work on that - CC @evan-bradley |
I have the same problem while pushing some metrics to Dynatrace through my ADOT collector @TylerHelmuth , are you ok with the PR provided by @bacherfl ? it would be awesome to merge it to fix this issue ;) |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Hi @TylerHelmuth, can we bring this requested feature to the processor? |
Component(s)
processor/cumulativetodelta
Describe the issue you're reporting
We have a usecase, we receive data from our producers on our otel, then we export the data to dynatrace.
To mention, we use 'otlphttp/export-to-dynatrace' exporter for exporting it to dynatrace.
We are receiving below warnings in our otel logs and can also see some data is being dropped.
Then we got to know about the "cumulativetodelta" processor.
We quickly tried it in our use case with the below config. After configuring it in the pipeline, the above errors are gone.
But currently with the above configurations, the otel will utilise its resources on every metric for cumulativetodelta processor.
And in our case we are receiving the above mentioned error/warning "UNSUPPORTED_METRIC_TYPE_MONOTONIC_CUMULATIVE_SUM" for a large set of metrics.
It does not looks good to add every metrics in "include" parameter of the processor nor do they have a common string so regex can be configured. If in future some metrics are added by consumers and we receive same errors then we have to manually keep adding those metrics in the "include" parameter which is again a headache.
Question is: Do we have some way to include metrics based upon the type? Like we do in "filterprocessor" example below.
If we have some way to "include" metrics based on types apart from string & regex, it would be great.
Any other production solution is also appreciated for the usecase by the experts.
The text was updated successfully, but these errors were encountered: