Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

Commit

Permalink
Format JSON with js-beautify.
Browse files Browse the repository at this point in the history
  • Loading branch information
yegle committed Sep 9, 2020
1 parent 7206ae7 commit bf4de11
Show file tree
Hide file tree
Showing 2 changed files with 80 additions and 94 deletions.
87 changes: 40 additions & 47 deletions terraform/alerting/dashboards/e2e.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
}
]
}
}
}]
}
}
87 changes: 40 additions & 47 deletions terraform/alerting/dashboards/verification-server.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
}
]
}
}
}]
}
}

0 comments on commit bf4de11

Please sign in to comment.