Kaiqi Dong created FLINK-40290:
----------------------------------

             Summary: Histogram summary emits duplicate quantile 1.0
                 Key: FLINK-40290
                 URL: https://issues.apache.org/jira/browse/FLINK-40290
             Project: Flink
          Issue Type: Bug
            Reporter: Kaiqi Dong


In OpenTelemetryMetricAdapter#convertHistogram, the quantile list is built as:
 
```

quantileList.add(ImmutableValueAtQuantile.create(1, 
histogram.getStatistics().getMax()));
quantileList.add(ImmutableValueAtQuantile.create(1, 
histogram.getStatistics().getMax()));
```


Per the OTLP spec, SummaryDataPoint.quantile_values is expected to be a set of
distinct quantiles.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to