Nuria has uploaded a new change for review. https://gerrit.wikimedia.org/r/143865
Change subject: Graphite monitoring for NavigationTiming to Event Logging ...................................................................... Graphite monitoring for NavigationTiming to Event Logging Bug: 67073 Change-Id: Iff892420ea4167d264e81162228de56719a17a2d --- M modules/eventlogging/manifests/monitoring.pp 1 file changed, 25 insertions(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/65/143865/1 diff --git a/modules/eventlogging/manifests/monitoring.pp b/modules/eventlogging/manifests/monitoring.pp index 36f5ae3..2aa6ca3 100644 --- a/modules/eventlogging/manifests/monitoring.pp +++ b/modules/eventlogging/manifests/monitoring.pp @@ -30,8 +30,10 @@ # # Provisions a Graphite check for sudden fluctuations in the volume # of incoming events. -# class eventlogging::monitoring::graphite { + + # Alarms if 1% of overall event throughput goes beyond 350 req/sec + # in a 15 min period monitor_graphite_threshold { 'eventlogging_throughput': description => 'Throughput of event logging events', metric => 'eventlogging.overall.raw.rate', @@ -40,4 +42,26 @@ from => '15min', contact_group => 'analytics' } + + # Alarms if 1% of Navigation Timing event throughput goes under 2 req/sec + # in a 15 min period + # https://meta.wikimedia.org/wiki/Schema:NavigationTiming + + # Note: + # you can test this via doing: + # ./files/icinga/check_graphite + # --url http://graphite.wikimedia.org check_threshold + # eventlogging.schema.NavigationTiming.rate --from 15min -C 1 -W 2 --under + # it will report the following: + # OK: Less than 1.00% data above the threshold [2.0] + # but actually the check is correct is checking points below threshold + monitor_graphite_threshold { 'eventlogging_throughput': + description => 'Throughput of event logging NavigationTiming events', + metric => 'eventlogging.schema.NavigationTiming.rate', + warning => 2, + critical => 1, + from => '15min', + contact_group => 'analytics', + under => 'true' + } } -- To view, visit https://gerrit.wikimedia.org/r/143865 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Iff892420ea4167d264e81162228de56719a17a2d Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Nuria <nu...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits