diff --git a/terraform/monitoring/panels/app/publishing_workers_count.libsonnet b/terraform/monitoring/panels/app/publishing_workers_count.libsonnet index d01bae17..ac86537f 100644 --- a/terraform/monitoring/panels/app/publishing_workers_count.libsonnet +++ b/terraform/monitoring/panels/app/publishing_workers_count.libsonnet @@ -13,7 +13,7 @@ local targets = grafana.targets; .configure(defaults.configuration.timeseries) .addTarget(targets.prometheus( datasource = ds.prometheus, - expr = 'sum(rate(spawned_publishing_workers{}[$__rate_interval]))', + expr = 'sum(rate(spawned_publishing_workers_total{}[$__rate_interval]))', refId = "availability", )) } diff --git a/terraform/monitoring/panels/app/publishing_workers_errors.libsonnet b/terraform/monitoring/panels/app/publishing_workers_errors.libsonnet index 914ec8d9..3cc88381 100644 --- a/terraform/monitoring/panels/app/publishing_workers_errors.libsonnet +++ b/terraform/monitoring/panels/app/publishing_workers_errors.libsonnet @@ -13,7 +13,7 @@ local targets = grafana.targets; .configure(defaults.configuration.timeseries) .addTarget(targets.prometheus( datasource = ds.prometheus, - expr = 'sum(rate(publishing_worker_errors{}[$__rate_interval]))', + expr = 'sum(rate(publishing_worker_errors_total{}[$__rate_interval]))', refId = "availability", )) }