From e74b853cc53eeded6871da02b714b2b4eae6627a Mon Sep 17 00:00:00 2001 From: "Jonatha Silva (CTW)" Date: Wed, 10 Aug 2022 11:34:46 +0100 Subject: [PATCH] INFOTAIN-27825: ID5 Dynatrace EMEA Dashboard slo --- .../slo/id5.yaml | 48 +++++++++++++++++++ .../slo/slo.json | 10 ++++ 2 files changed, 58 insertions(+) create mode 100644 BMW-Dynatrace-config/CD_VehicleCentricInformationServices/slo/id5.yaml create mode 100644 BMW-Dynatrace-config/CD_VehicleCentricInformationServices/slo/slo.json diff --git a/BMW-Dynatrace-config/CD_VehicleCentricInformationServices/slo/id5.yaml b/BMW-Dynatrace-config/CD_VehicleCentricInformationServices/slo/id5.yaml new file mode 100644 index 00000000..e9663f4d --- /dev/null +++ b/BMW-Dynatrace-config/CD_VehicleCentricInformationServices/slo/id5.yaml @@ -0,0 +1,48 @@ +config: + - FuelPricesServiceV1-US-Prod: slo.json + - LocalSearchServiceV1-US-Prod: slo.json + - ParkinfoServiceV1-US-Prod: slo.json + - SessionServiceV1-US-Prod: slo.json + - SPMServiceV1-US-Prod: slo.json + +##### ID5 Endpoints ##### + +FuelPricesServiceV1-US-Prod: + - name: ID5 FuelPricesServiceV1 - information" + - sloFilter: "type(SERVICE_METHOD), entityId(\\\"SERVICE_METHOD-F5DB8937B187F13C\\\",\\\"SERVICE_METHOD-0C1355EF9BB02FCE\\\")" + - metricExpression: "builtin:service.successes.server.rate:filter(and(in("dt.entity.service",entitySelector("type(service),entityName(~"FuelPricesServiceV1 - information~")")))):splitBy():percentile(90):auto:sort(value(percentile(90),descending)):limit(100)" + - target: "98" + - warning: "99" + - skipDeployment: "true" + +LocalSearchServiceV1-US-Prod: + - name: "ID5 LocalSearchServiceV1 - information" + - sloFilter: "type(SERVICE_METHOD), entityId(\\\"SERVICE_METHOD-F62A23D744A40063\\\",\\\"SERVICE_METHOD-57BE173B5DD2F5B8\\\",\\\"SERVICE_METHOD-759316E38A846ECD\\\",\\\"SERVICE_METHOD-8BB459B347AA928B\\\")" + - metricExpression: "builtin:service.successes.server.rate:filter(and(in("dt.entity.service",entitySelector("type(service),entityName(~"LocalSearchServiceV1 - information~")")))):splitBy():percentile(90):auto:sort(value(percentile(90),descending)):limit(100)" + - target: "98" + - warning: "99" + - skipDeployment: "false" + +ParkinfoServiceV1-US-Prod: + - name: "ID5 ParkinfoServiceV1 - information" + - sloFilter: "type(SERVICE_METHOD), entityId(\\\"SERVICE_METHOD-E281F9BA48E4ED94\\\",\\\"SERVICE_METHOD-653EF5D37D8D52D3\\\",\\\"SERVICE_METHOD-DFA8E48C300E01E5\\\")" + - metricExpression: "builtin:service.successes.server.rate:filter(and(in("dt.entity.service",entitySelector("type(service),entityName(~"ParkinfoServiceV1 - information~")")))):splitBy():percentile(90):auto:sort(value(percentile(90),descending)):limit(100)" + - target: "98" + - warning: "99" + - skipDeployment: "false" + +SessionServiceV1-US-Prod: + - name: "ID5 SessionServiceV1 - information" + - sloFilter: "type(SERVICE_METHOD), entityId(\\\"SERVICE_METHOD-7EBC8FB59829E4C7\\\")" + - metricExpression: "builtin:service.successes.server.rate:filter(and(in("dt.entity.service",entitySelector("type(service),entityName(~"SessionServiceV1 - information~")")))):splitBy():percentile(90):auto:sort(value(percentile(90),descending)):limit(100)" + - target: "98" + - warning: "99" + - skipDeployment: "false" + + -US-Prod: + - name: "ID5 SPMServiceV1 - information" + - sloFilter: "type(SERVICE_METHOD), entityId(\\\"SERVICE_METHOD-F4CCAE26EE2F024F\\\",\\\"SERVICE_METHOD-3C32DF641CCDBE53\\\",\\\"SERVICE_METHOD-D88DE75DDBB328E1\\\")" + - metricExpression: "builtin:service.successes.server.rate:filter(and(in("dt.entity.service",entitySelector("type(service),entityName(~"SPMServiceV1 - information~")")))):splitBy():percentile(90):auto:sort(value(percentile(90),descending)):limit(100)" + - target: "98" + - warning: "99" + - skipDeployment: "false" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VehicleCentricInformationServices/slo/slo.json b/BMW-Dynatrace-config/CD_VehicleCentricInformationServices/slo/slo.json new file mode 100644 index 00000000..21acc51c --- /dev/null +++ b/BMW-Dynatrace-config/CD_VehicleCentricInformationServices/slo/slo.json @@ -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" + } \ No newline at end of file