summary refs log tree commit diff
path: root/contrib/prometheus/synapse-v2.rules
diff options
context:
space:
mode:
authorKrombel <krombel@krombel.de>2018-04-05 17:26:21 +0200
committerKrombel <krombel@krombel.de>2018-04-05 23:34:01 +0200
commitc7ede92d0b0e3d9a1c9a6cea8ecccbb87d1fb0d9 (patch)
treea69338278f3c42437d165459a1349363ed67d0d9 /contrib/prometheus/synapse-v2.rules
parentMerge pull request #3045 from matrix-org/dbkr/group_joinable (diff)
downloadsynapse-c7ede92d0b0e3d9a1c9a6cea8ecccbb87d1fb0d9.tar.xz
make prometheus config compliant to v0.28
Diffstat (limited to '')
-rw-r--r--contrib/prometheus/synapse-v2.rules12
1 files changed, 6 insertions, 6 deletions
diff --git a/contrib/prometheus/synapse-v2.rules b/contrib/prometheus/synapse-v2.rules
index 07e37a885e..6ccca2daaf 100644
--- a/contrib/prometheus/synapse-v2.rules
+++ b/contrib/prometheus/synapse-v2.rules
@@ -5,19 +5,19 @@ groups:
     expr: "sum(synapse_federation_transaction_queue_pendingEdus or absent(synapse_federation_transaction_queue_pendingEdus)*0)"
   - record: "synapse_federation_transaction_queue_pendingPdus:total"
     expr:   "sum(synapse_federation_transaction_queue_pendingPdus or absent(synapse_federation_transaction_queue_pendingPdus)*0)"
-  - record: 'synapse_http_server_requests:method'
+  - record: 'synapse_http_server_request_count:method'
     labels:
       servlet: ""
-    expr: "sum(synapse_http_server_requests) by (method)"
-  - record: 'synapse_http_server_requests:servlet'
+    expr: "sum(synapse_http_server_request_count) by (method)"
+  - record: 'synapse_http_server_request_count:servlet'
     labels:
       method: ""
-    expr: 'sum(synapse_http_server_requests) by (servlet)'
+    expr: 'sum(synapse_http_server_request_count) by (servlet)'
 
-  - record: 'synapse_http_server_requests:total'
+  - record: 'synapse_http_server_request_count:total'
     labels:
       servlet: ""
-    expr: 'sum(synapse_http_server_requests:by_method) by (servlet)'
+    expr: 'sum(synapse_http_server_request_count:by_method) by (servlet)'
 
   - record: 'synapse_cache:hit_ratio_5m'
     expr: 'rate(synapse_util_caches_cache:hits[5m]) / rate(synapse_util_caches_cache:total[5m])'