-
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
improve summary metrics converting. #33850
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
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. |
As a workaround for now, a second statement can be written to change the metric name |
But is I don't have the full list of metrics to be converted, I can't do it exactly. If I change metric name by rename all metrics ends with Using it along with routing processor and forward connector should work, but this will make the configuration quite more complex. |
Component(s)
processor/transform
Is your feature request related to a problem? Please describe.
There are functions like
convert_summary_count_val_to_sum
andconvert_summary_sum_val_to_sum
, which can convert values in summary to sum and count.However, the have some limitions:
_sum
or_count
. But according to OpenTelemetry's convention,.
should be used instead of_
in this case.Describe the solution you'd like
convert_summary_count_val_to_sum(aggregation_temporality, is_monotonic, Optional[suffix])
. The new optional parameters allow setting the suffix to add. By default,suffix
is ".sum".converter_summary_quantile_val_to_gauge(Optional[suffix])
. Thesuffix
defaults to ".quantile_%s", where%s
will be replaced with the quantile value and the decimal point will be removed. For example, ".quantile_99", ".quantile_999" will be added.Describe alternatives you've considered
Use a single function or component to convert summary to two sums and a gauge.
Additional context
No response
The text was updated successfully, but these errors were encountered: