Elukey has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/266264

Change subject: Add the moving average function to the event logging's insert 
rate alarming metric. Bug: T124204
......................................................................

Add the moving average function to the event logging's insert rate alarming 
metric.
Bug: T124204

Change-Id: I04e52e6a57a124f5c47dad316769c4e61bdc591e
Signed-off-by: elukey <[email protected]>
---
M modules/eventlogging/manifests/monitoring/graphite.pp
1 file changed, 4 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/64/266264/1

diff --git a/modules/eventlogging/manifests/monitoring/graphite.pp 
b/modules/eventlogging/manifests/monitoring/graphite.pp
index a10606a..31b229c 100644
--- a/modules/eventlogging/manifests/monitoring/graphite.pp
+++ b/modules/eventlogging/manifests/monitoring/graphite.pp
@@ -18,7 +18,7 @@
     # was seen that the current setup can handle 500 events/s.
     # Better thresholds are pending (see T86244).
     monitoring::graphite_threshold { 'eventlogging_throughput':
-        description   => 'Throughput of event logging events',
+        description   => 'Throughput of EvenLogging events',
         metric        => $raw_events_rate_metric,
         warning       => 500,
         critical      => 600,
@@ -31,7 +31,7 @@
     # in a 15 min period
     # https://meta.wikimedia.org/wiki/Schema:NavigationTiming
     monitoring::graphite_threshold { 
'eventlogging_NavigationTiming_throughput':
-        description   => 'Throughput of event logging NavigationTiming events',
+        description   => 'Throughput of EventLogging NavigationTiming events',
         metric        => 
"kafka.${kafka_brokers_graphite_wildcard}.kafka.server.BrokerTopicMetrics.MessagesInPerSec.eventlogging_NavigationTiming.OneMinuteRate",
         warning       => 1,
         critical      => 0,
@@ -63,8 +63,8 @@
     # this metric is a good proxy to make sure events are flowing through the
     # kafka pipeline
     monitoring::graphite_threshold { 'eventlogging_overall_inserted_rate':
-        description   => 'Overall insertion rate from MySQL consumer',
-        metric        => 'eventlogging.overall.inserted.rate',
+        description   => 'EventLogging overall insertion rate from MySQL 
consumer',
+        metric        => 'movingAverage(eventlogging.overall.inserted.rate, 
"10min")',
         warning       => 100,
         critical      => 10,
         percentage    => 20, # At least 3 of the (25 - 10) = 15 readings

-- 
To view, visit https://gerrit.wikimedia.org/r/266264
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I04e52e6a57a124f5c47dad316769c4e61bdc591e
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Elukey <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to