INFOTAIN-27824: change slo file and add yaml file to gen2

feature/INFOTAIN-27824-gen2-dynatrace-dashboard-slo
Pedro Vieira (CTW) 2022-07-14 15:43:20 +01:00
parent e5d59f8edf
commit 5746a015ca
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,16 @@
config:
- AppStore-EMEA-Prod: slo.json
AppStore-EMEA-Prod:
- name: "Gen2 SLO App Store"
- sloFilter: "type(SERVICE_METHOD), entityId(\\\"SERVICE_METHOD-33C75D7B554EB498\\\",\\\"SERVICE_METHOD-ADAF1C4F58C2C719\\\",\\\"SERVICE_METHOD-05E895E75BA373CA\\\")"
- target: "98"
- warning: "99"
- skipDeployment: "true"
AppStore-EMEA-Prod.EMEA-Prod:
- name: "Gen2 SLO App Store"
- sloFilter: "type(SERVICE_METHOD), entityId(\\\"SERVICE_METHOD-33C75D7B554EB498\\\",\\\"SERVICE_METHOD-ADAF1C4F58C2C719\\\",\\\"SERVICE_METHOD-05E895E75BA373CA\\\")"
- target: "98"
- warning: "99"
- skipDeployment: "false"

View File

@ -0,0 +1,10 @@
{
"enabled": true,
"name": "{{ .name }}",
"metricExpression": "(100)*(1-(builtin:service.keyRequest.errors.fivexx.count:splitBy()/builtin:service.keyRequest.count.server:splitBy()))",
"evaluationType": "AGGREGATE",
"filter": "{{.sloFilter}}",
"target": "{{ .target }}",
"warning": "{{ .warning }}",
"timeframe": "-1d"
}