Elukey has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/401773 )
Change subject: profile::prometheus::alerts: fix Druid ingestion Prometheus
query
......................................................................
profile::prometheus::alerts: fix Druid ingestion Prometheus query
Change-Id: Ide24e2b5ac2e0304e8cd0062540feaef4d8ee170
---
M modules/profile/manifests/prometheus/alerts.pp
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Elukey: Looks good to me, approved
jenkins-bot: Verified
diff --git a/modules/profile/manifests/prometheus/alerts.pp
b/modules/profile/manifests/prometheus/alerts.pp
index 3621a2d..80361ea 100644
--- a/modules/profile/manifests/prometheus/alerts.pp
+++ b/modules/profile/manifests/prometheus/alerts.pp
@@ -10,7 +10,7 @@
# Experimental, only alerting the Analytics alias.
monitoring::check_prometheus { 'druid_realtime_banner_activity':
description => 'Number of banner_activity realtime events received
by Druid over a 30 minutes period',
- query =>
'sum_over_time(druid_realtime_ingest_events_processed_count{cluster="druid_analytics",
instance=~"druid.*:8000", datasource=~"banner_activity_minutely"}[30m])',
+ query =>
'scalar(sum(sum_over_time(druid_realtime_ingest_events_processed_count{cluster="druid_analytics",
instance=~"druid.*:8000", datasource=~"banner_activity_minutely"}[30m])))',
prometheus_url => 'http://prometheus.svc.eqiad.wmnet/analytics',
method => 'le',
warning => 10,
--
To view, visit https://gerrit.wikimedia.org/r/401773
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ide24e2b5ac2e0304e8cd0062540feaef4d8ee170
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Elukey <[email protected]>
Gerrit-Reviewer: Elukey <[email protected]>
Gerrit-Reviewer: Joal <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits