Page MenuHomePhabricator

Recording rule for mediawiki_WikimediaEvents_editResponseTime_seconds_count
Open, Needs TriagePublic

Description

The metric represents mw edit count and is/will be widely used as an indicator for site health. The metric is also quite big in cardinality and has caused stability problems when used in dashboards with long time spans. Therefore we need a recording rule to be used in dashboards and such.

Sample metric with labels:

mediawiki_WikimediaEvents_editResponseTime_seconds_count{app="statsd-exporter", entry="api", instance="10.194.128.16:9102", is_mobile="0", job="k8s-pods", kubernetes_namespace="mw-wikifunctions", kubernetes_pod_name="statsd-exporter-prometheus-77c4d74b7-bzhkd", page="content", platform="android", pod_template_hash="77c4d74b7", prometheus="k8s", release="prometheus", routed_via="prometheus", site="codfw", user="normal", wiki="wikifunctionswiki"}

Event Timeline

Change #1112172 had a related patch set uploaded (by Filippo Giunchedi; author: Filippo Giunchedi):

[operations/puppet@production] prometheus: recording rules for mw edit count

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

Change #1112700 had a related patch set uploaded (by Filippo Giunchedi; author: Filippo Giunchedi):

[operations/puppet@production] thanos: further reduce trace sampling

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

Change #1112172 merged by Filippo Giunchedi:

[operations/puppet@production] prometheus: recording rules for mw edit rates

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

Change #1117519 had a related patch set uploaded (by Filippo Giunchedi; author: Filippo Giunchedi):

[operations/puppet@production] statograph: update mw edit rate to use thanos

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

Change #1117539 had a related patch set uploaded (by Filippo Giunchedi; author: Filippo Giunchedi):

[operations/puppet@production] prometheus: add per user breakdown to mw edit rates

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

Change #1117539 merged by Filippo Giunchedi:

[operations/puppet@production] prometheus: add per user breakdown to mw edit rates

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

Change #1117519 merged by Filippo Giunchedi:

[operations/puppet@production] statograph: update mw edit rate to use thanos

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

Change #1130689 had a related patch set uploaded (by Cwhite; author: Cwhite):

[operations/puppet@production] prometheus: add recording rules for use by histogram_quantile

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

Change #1130689 merged by Cwhite:

[operations/puppet@production] prometheus: add recording rules for use by histogram_quantile

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