-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
OTLP Exporter only sets min and max for Summary Data Point #933
Comments
This use of the
There is no plan currently. Precomputed percentiles have a limited use in that they do not support any aggregation and are quite inflexible. Especially when evaluated against Histograms themselves which offer data that arbitrary percentiles can be computed from at a later time (as well as other useful data analysis methods). That said, we try to value user requests. If you are an end user that has a need for precomputed percentiles we would like to hear about that usecase and why you prefer it. If ultimately precomputed percentiles don't make it into the standard aggregators, it is expected to build out the extensibility of our aggregator system. It is still in the design stage, but the idea is an end user can provide their own |
I think we should support configurable percentiles for OTLP summary data points. The array, sketch, and histogram aggregators can all produce these percentiles, but I don't think these should be included by default (i.e., MMSC is working). (Now we need a configurable SDK...) |
This was an issue with an alpha version of the metrics. Currently, there isn't a way for the SDK to generate summary data points; they can only be made via a producer. I am closing this issue, but if anyone feels that there is more work to be done, please reopen. |
Is your feature request related to a problem? Please describe.
opentelemetry-go/exporters/otlp/internal/transform/metric.go
Lines 327 to 347 in aff7a80
I noticed that Summary Data Points are only created from MinMaxSumCountAggregators, where there are only two percentiles set: 0% as the minimum, and 100% as the maximum. This seems like it doesn't take full advantage of the utility of the Summary Data Point, which allows for a list of percentiles and their values.
Describe the solution you'd like
Are there plans for an aggregator similar to the HistogramAggregator that will allow for a full Summary data point (e.g. setting the 10th percentile, 30th percentile, 50th percentile, etc.) ?
The text was updated successfully, but these errors were encountered: