Filippo Giunchedi has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/402328 )
Change subject: prometheus: aggregate varnish_requests rate ...................................................................... prometheus: aggregate varnish_requests rate Make it possible to account for counter resets even when aggregating globally. Bug: T177199 Change-Id: I3ea09933f16a93aea3a10082c9cce3c6c9e113c1 --- M modules/role/files/prometheus/rules_ops.conf 1 file changed, 1 insertion(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/28/402328/1 diff --git a/modules/role/files/prometheus/rules_ops.conf b/modules/role/files/prometheus/rules_ops.conf index b315385..31ef36c 100644 --- a/modules/role/files/prometheus/rules_ops.conf +++ b/modules/role/files/prometheus/rules_ops.conf @@ -138,6 +138,7 @@ # reqstats aggregation job_method_status:varnish_requests:sum = sum(varnish_requests) by (job, method, status) +job_method_status:varnish_requests:rate5m = sum(rate(varnish_requests[5m])) by (job, method, status) # MySQL aggregated stats job_role_shard:mysql_global_status_queries:rate5m = sum by (job, role, shard) (rate(mysql_global_status_queries[5m])) -- To view, visit https://gerrit.wikimedia.org/r/402328 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I3ea09933f16a93aea3a10082c9cce3c6c9e113c1 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Filippo Giunchedi <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
