Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCutter committed Sep 19, 2024
1 parent 310b4df commit 99be203
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deployment/modules/monitoring/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ resource "google_monitoring_dashboard" "witness_dashboard" {
"xyChart": {
"dataSets": [{
"timeSeriesQuery": {
"prometheusQuery": "count by (witness_id) (max by (instance_id, witness_id) (rate(distributor_update_checkpoint_request{configuration_name='distributor-service-${var.env}'}[\$\{__interval\}]) > bool 0))"
"prometheusQuery": "count by (witness_id) (max by (instance_id, witness_id) (rate(distributor_update_checkpoint_request{configuration_name='distributor-service-${var.env}'}[$${__interval}]) > bool 0))"
},
"plotType": "STACKED_AREA"
}],
Expand All @@ -105,7 +105,7 @@ resource "google_monitoring_dashboard" "witness_dashboard" {
"xyChart": {
"dataSets": [{
"timeSeriesQuery": {
"prometheusQuery": "sum by (instance_id) (max by (instance_id, witness_id) (rate(distributor_update_checkpoint_request{configuration_name='distributor-service-${var.env}'}[\$\{__interval\}\]) > bool 0)) * 100 / ${var.num_expected_devices}"
"prometheusQuery": "sum by (instance_id) (max by (instance_id, witness_id) (rate(distributor_update_checkpoint_request{configuration_name='distributor-service-${var.env}'}[$${__interval}]) > bool 0)) * 100 / ${var.num_expected_devices}"
},
"plotType": "STACKED_AREA"
}],
Expand Down

0 comments on commit 99be203

Please sign in to comment.