title: Calculating average using a Histogram metric
body: <p>I am generating a Histogram using a prometheus client. The metric name is <code>retrieve_stripe_subscription_latency_ms</code>. Since Histogram generates additional metrics with suffixes <code>_sum</code> and <code>_count</code>, can I calculate the average using the below query in Grafana?</p>
  <p><code>sum(retrieve_stripe_subscription_latency_ms_sum)/sum(retrieve_stripe_subscription_latency_ms_count)</code></p>