# Alerts: Calculate the 99 percentile of a histogram metric

**URL:** <https://discuss.elastic.co/t/alerts-calculate-the-99-percentile-of-a-histogram-metric/318556>\
**Category:** Elastic Observability\
**Created:** [November 9, 2022, 3:37pm UTC](https://discuss.elastic.co/t/alerts-calculate-the-99-percentile-of-a-histogram-metric/318556 "2022-11-09T15:37:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![EDzhelyov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/edzhelyov/32/113054_2.png) [@EDzhelyov](https://discuss.elastic.co/u/EDzhelyov)\
**Post date:** [November 9, 2022, 3:37pm UTC](https://discuss.elastic.co/t/alerts-calculate-the-99-percentile-of-a-histogram-metric/318556/1 "2022-11-09T15:37:09Z")

</div>

I have the following Prometheus alert using the `etcd_disk_wal_fsync_duration_seconds_bucket` metric:

```auto
histogram_quantile(0.99, rate(etcd_disk_wal_fsync_duration_seconds_bucket[1m]))
          > 0.5

```

What will be equivalent in Kibana alert?
