简体   繁体   中英

Histogram not showing data in grafana

I added a prometheus Histogram with name retrieve_stripe_subscription_latency_ms . From what I read, three metrics get generated from this. I am able see data when I enter the below in Grafana as is

  1. retrieve_stripe_subscription_latency_ms_count
  2. retrieve_stripe_subscription_latency_ms_sum
  3. retrieve_stripe_subscription_latency_ms_bucket

But when I plot using the below query in Grafana, I don't see any data

histogram_quantile(0.95, sum(rate(retrieve_stripe_subscription_latency_ms_bucket[5m])) by (le))

What could be wrong here?

The issue was the the values were all going to the Inf bucket since the library I am using doesn't automatically handle that.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM