[ 
https://issues.apache.org/jira/browse/FLINK-29037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17631772#comment-17631772
 ] 

Lim Qing Wei commented on FLINK-29037:
--------------------------------------

I believe this is still not supported in Flink 1.15 and above.

If I read it correctly, this is the relevant code: 
[https://github.com/apache/flink/blob/master/flink-metrics/flink-metrics-prometheus/src/main/java/org/apache/flink/metrics/prometheus/AbstractPrometheusReporter.java#L365]

> Flink Histogram not emitting sum while using Metrics Reporter
> -------------------------------------------------------------
>
>                 Key: FLINK-29037
>                 URL: https://issues.apache.org/jira/browse/FLINK-29037
>             Project: Flink
>          Issue Type: New Feature
>          Components: Runtime / Metrics
>    Affects Versions: 1.13.6
>            Reporter: Sarang Vadali
>            Priority: Major
>
> I am currently registering a Flink Histogram and using the Prometheus Metrics 
> Reporter to send this metric to our Time Series Data Storage. When Prometheus 
> grabs this metric and converts it to the "summary" type, there is no sum 
> found (only the streaming quantiles and count). This is causing an issue when 
> our metrics agent is attempting to capture the Flink Histogram/Prometheus 
> Summary.
> I was wondering if in a newer version (than 1.13.6) the histogram sum is 
> computed by Flink and what that version would be? If not, is there any work 
> around so that a Flink histogram can emit all 3 elements (quantiles, sum, and 
> count) in Prometheus format?



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

Reply via email to