From 0829f7bc49c29d7f90df3e3a79c1875ae2703fab Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Sat, 20 Jan 2024 12:04:48 -0500 Subject: [PATCH] fix: missing RelayIncomingWatchSubscriptionsRate --- .../panels/app/relay_incoming_message_rate.libsonnet | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/terraform/monitoring/panels/app/relay_incoming_message_rate.libsonnet b/terraform/monitoring/panels/app/relay_incoming_message_rate.libsonnet index dff46a1b..bb3bd16f 100644 --- a/terraform/monitoring/panels/app/relay_incoming_message_rate.libsonnet +++ b/terraform/monitoring/panels/app/relay_incoming_message_rate.libsonnet @@ -42,4 +42,13 @@ local targets = grafana.targets; exemplar = true, refId = 'RelayIncomingMessagesRate', )) + + .addTarget(targets.prometheus( + datasource = ds.prometheus, + expr = 'sum(rate(relay_incoming_messages_total{tag="4010"}[$__rate_interval]))', + legendFormat = '{{tag}} r{{aws_ecs_task_revision}}', + exemplar = true, + refId = 'RelayIncomingWatchSubscriptionsRate', + hide = true, + )) }