Adapt receivecommits metrics
The metric name was changed in I1aae3bc0c0fe430086221503b8e529fa06967517.
Change-Id: I466b01f05a2f679ef49437998992f5aa678bd58c
diff --git a/dashboards/gerrit/latency/gerrit-push-latency.jsonnet b/dashboards/gerrit/latency/gerrit-push-latency.jsonnet
index e792d23..1bd9db0 100644
--- a/dashboards/gerrit/latency/gerrit-push-latency.jsonnet
+++ b/dashboards/gerrit/latency/gerrit-push-latency.jsonnet
@@ -26,22 +26,22 @@
.addTemplate(variables.replica)
.addPanel(
latency_panel.new(
- metric='receivecommits_latency_total',
- title='TOTAL receive-commits latency'
+ metric='receivecommits_latency_per_push_total',
+ title='TOTAL receive-commits latency per push'
),
gridPos=gridPos.new(0, 0, 1)
)
.addPanel(
latency_panel.new(
- metric='receivecommits_latency_AUTOCLOSED',
- title='AUTOCLOSED receive-commits latency'
+ metric='receivecommits_latency_per_push_AUTOCLOSED',
+ title='AUTOCLOSED receive-commits latency per push'
),
gridPos=gridPos.new(1, 0)
)
.addPanel(
latency_panel.new(
- metric='receivecommits_latency_CREATE_REPLACE',
- title='CREATE/REPLACE receive-commits latency'
+ metric='receivecommits_latency_per_push_CREATE_REPLACE',
+ title='CREATE/REPLACE receive-commits latency per push'
),
gridPos=gridPos.new(1, 1)
)