So I an following this link
<https://prometheus.io/docs/practices/histograms/> too, to calculate
average request duration. As per this page, histogram metrics has _count,
_sum data. Though it is prometheus histogram, I expected flink histogram
too would provide me same.

On Wed, Jan 13, 2021 at 8:50 PM Chesnay Schepler <ches...@apache.org> wrote:

> What exactly do you mean with "count metrics" and "sum"?
>
> Given a Histogram H, you should see:
> - one time series named <scope>H_count
> - one time series named <scope>H, with various labels for the different
> quantiles.
>
> What do you see in Prometheus, and what do you consider to be missing?
>
> On 1/13/2021 4:10 PM, Manish G wrote:
>
> Hi All,
>
> I have added histogram to code following here
> <https://ci.apache.org/projects/flink/flink-docs-stable/ops/metrics.html#histogram>
> .
> But I observe that on prometheus board I get only count metrics, not sum.
> Metrics itself is missing.
> I have used classes:
>
> com.codahale.metrics.Histogram
> org.apache.flink.dropwizard.metrics.DropwizardHistogramWrapper
>
> What do I miss here?
>
>
>

Reply via email to