Elukey has uploaded a new change for review. ( 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(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/73/401773/1 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: newchange Gerrit-Change-Id: Ide24e2b5ac2e0304e8cd0062540feaef4d8ee170 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Elukey <ltosc...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits