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

Add an SLO chart in the Verification Server dashboard. #1315

Merged
merged 1 commit into from
Dec 10, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions terraform/alerting/dashboards/verification-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,28 @@ displayName: Verification Server
gridLayout:
columns: "2"
widgets:
- title: SLO
xyChart:
chartOptions:
mode: COLOR
thresholds:
- label: SLO Goal
value: 0.995
dataSets:
- plotType: LINE
timeSeriesQuery:
timeSeriesQueryLanguage: >
https_lb_rule::
loadbalancing.googleapis.com/https/request_count
| filter resource.backend_name = "apiserver"
| {
filter metric.response_code_class = 200
;
filter metric.response_code_class = 200 || metric.response_code_class = 500
}
| group_by [resource.backend_name]
| outer_join 0
| div
- title: Cloud Run Revision - Request Count (grouped) [SUM]
xyChart:
chartOptions:
Expand Down