diff --git a/terraform/alerting/dashboards/e2e.json b/terraform/alerting/dashboards/e2e.json index b0e3b0ea7..698a74000 100644 --- a/terraform/alerting/dashboards/e2e.json +++ b/terraform/alerting/dashboards/e2e.json @@ -1,50 +1,43 @@ { - "displayName": "e2e", - "gridLayout": { - "columns": "2", - "widgets": [ - { - "title": "/api/issue/code_issued_count rate by job", - "xyChart": { - "chartOptions": { - "mode": "COLOR" - }, - "dataSets": [ - { - "plotType": "LINE", - "timeSeriesQuery": { - "timeSeriesQueryLanguage": "generic_task :: custom.googleapis.com/opencensus/en-verification-server/api/issue/codes_issued_count | align rate() | every 1m | [resource.job]" - } + "displayName": "e2e", + "gridLayout": { + "columns": "2", + "widgets": [{ + "title": "/api/issue/code_issued_count rate by job", + "xyChart": { + "chartOptions": { + "mode": "COLOR" + }, + "dataSets": [{ + "plotType": "LINE", + "timeSeriesQuery": { + "timeSeriesQueryLanguage": "generic_task :: custom.googleapis.com/opencensus/en-verification-server/api/issue/codes_issued_count | align rate() | every 1m | [resource.job]" + } + }], + "timeshiftDuration": "0s", + "yAxis": { + "label": "y1Axis", + "scale": "LINEAR" + } } - ], - "timeshiftDuration": "0s", - "yAxis": { - "label": "y1Axis", - "scale": "LINEAR" - } - } - }, - { - "title": "/api/verify/attempt_count rate by job", - "xyChart": { - "chartOptions": { - "mode": "COLOR" - }, - "dataSets": [ - { - "plotType": "LINE", - "timeSeriesQuery": { - "timeSeriesQueryLanguage": "generic_task :: custom.googleapis.com/opencensus/en-verification-server/api/verify/attempt_count | align rate() | every 1m | [resource.job]" - } + }, { + "title": "/api/verify/attempt_count rate by job", + "xyChart": { + "chartOptions": { + "mode": "COLOR" + }, + "dataSets": [{ + "plotType": "LINE", + "timeSeriesQuery": { + "timeSeriesQueryLanguage": "generic_task :: custom.googleapis.com/opencensus/en-verification-server/api/verify/attempt_count | align rate() | every 1m | [resource.job]" + } + }], + "timeshiftDuration": "0s", + "yAxis": { + "label": "y1Axis", + "scale": "LINEAR" + } } - ], - "timeshiftDuration": "0s", - "yAxis": { - "label": "y1Axis", - "scale": "LINEAR" - } - } - } - ] - } -} + }] + } +} \ No newline at end of file diff --git a/terraform/alerting/dashboards/verification-server.json b/terraform/alerting/dashboards/verification-server.json index 6cd7e9fe3..c20af4829 100644 --- a/terraform/alerting/dashboards/verification-server.json +++ b/terraform/alerting/dashboards/verification-server.json @@ -1,50 +1,43 @@ { - "displayName": "Verification Server", - "gridLayout": { - "columns": "2", - "widgets": [ - { - "title": "Cloud Run Revision - Request Count (grouped) [SUM]", - "xyChart": { - "chartOptions": { - "mode": "COLOR" - }, - "dataSets": [ - { - "plotType": "LINE", - "timeSeriesQuery": { - "timeSeriesQueryLanguage": "cloud_run_revision :: run.googleapis.com/request_count | align rate() | every 1m | [resource.service_name, metric.response_code_class]" - } + "displayName": "Verification Server", + "gridLayout": { + "columns": "2", + "widgets": [{ + "title": "Cloud Run Revision - Request Count (grouped) [SUM]", + "xyChart": { + "chartOptions": { + "mode": "COLOR" + }, + "dataSets": [{ + "plotType": "LINE", + "timeSeriesQuery": { + "timeSeriesQueryLanguage": "cloud_run_revision :: run.googleapis.com/request_count | align rate() | every 1m | [resource.service_name, metric.response_code_class]" + } + }], + "timeshiftDuration": "0s", + "yAxis": { + "label": "y1Axis", + "scale": "LINEAR" + } } - ], - "timeshiftDuration": "0s", - "yAxis": { - "label": "y1Axis", - "scale": "LINEAR" - } - } - }, - { - "title": "OpenCensus/en-verification-server/api/issue/attempt_count by label.job [SUM]", - "xyChart": { - "chartOptions": { - "mode": "COLOR" - }, - "dataSets": [ - { - "plotType": "LINE", - "timeSeriesQuery": { - "timeSeriesQueryLanguage": "generic_task :: custom.googleapis.com/opencensus/en-verification-server/api/issue/attempt_count | align rate() | every 1m | [resource.job]" - } + }, { + "title": "OpenCensus/en-verification-server/api/issue/attempt_count by label.job [SUM]", + "xyChart": { + "chartOptions": { + "mode": "COLOR" + }, + "dataSets": [{ + "plotType": "LINE", + "timeSeriesQuery": { + "timeSeriesQueryLanguage": "generic_task :: custom.googleapis.com/opencensus/en-verification-server/api/issue/attempt_count | align rate() | every 1m | [resource.job]" + } + }], + "timeshiftDuration": "0s", + "yAxis": { + "label": "y1Axis", + "scale": "LINEAR" + } } - ], - "timeshiftDuration": "0s", - "yAxis": { - "label": "y1Axis", - "scale": "LINEAR" - } - } - } - ] - } -} + }] + } +} \ No newline at end of file