mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
Merge pull request #11028 from grafana/iainlane/prometheus-high-query-load-selector
PrometheusHighQueryLoad alert: use configured selector
This commit is contained in:
commit
62a6bba2db
|
@ -320,7 +320,7 @@
|
||||||
{
|
{
|
||||||
alert: 'PrometheusHighQueryLoad',
|
alert: 'PrometheusHighQueryLoad',
|
||||||
expr: |||
|
expr: |||
|
||||||
avg_over_time(prometheus_engine_queries{job="prometheus-k8s"}[5m]) / max_over_time(prometheus_engine_queries_concurrent_max{job="prometheus-k8s"}[5m]) > 0.8
|
avg_over_time(prometheus_engine_queries{%(prometheusSelector)s}[5m]) / max_over_time(prometheus_engine_queries_concurrent_max{%(prometheusSelector)s}[5m]) > 0.8
|
||||||
||| % $._config,
|
||| % $._config,
|
||||||
'for': '15m',
|
'for': '15m',
|
||||||
labels: {
|
labels: {
|
||||||
|
|
Loading…
Reference in a new issue