modified DigitalKey Slo since service TrackApi was newly created. 2nd attempt

M_sloFix
Mohammed Abadel 2022-04-07 16:38:11 +02:00
parent ee7191e157
commit 41943afdad
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ module Wirkkette__DigitalKey__SMACC___-_Reliability_of_key_requests {
#metric expression of the calculation as done in data explorer ui
metric_expression = "(100)*((1)-(builtin:service.keyRequest.errors.fivexx.count:filter(and(in(\"dt.entity.service_method\",entitySelector(\"type(service_method),entityId(~\"SERVICE_METHOD-EA852E5283881C68~\,"~\"SERVICE_METHOD-6FA84708A746BE9D~\",~\"SERVICE_METHOD-C5331A994ED8A635~\",~\"SERVICE_METHOD-EFCBA1A015A4AD29~\")\")))):splitBy():avg:auto:sort(value(avg,descending)):limit(10))/(builtin:service.keyRequest.count.server:filter(and(in(\"dt.entity.service_method\",entitySelector(\"type(service_method),entityId(~\"SERVICE_METHOD-EA852E5283881C68~\",~\"SERVICE_METHOD-6FA84708A746BE9D~\",~\"SERVICE_METHOD-C5331A994ED8A635~\",~\"SERVICE_METHOD-EFCBA1A015A4AD29~\")\")))):splitBy():avg:auto:sort(value(avg,descending)):limit(10)))"
metric_expression = "(100)*((1)-(builtin:service.keyRequest.errors.fivexx.count:filter(and(in(\"dt.entity.service_method\",entitySelector(\"type(service_method),entityId(~\"SERVICE_METHOD-EA852E5283881C68~\",~\"SERVICE_METHOD-6FA84708A746BE9D~\",~\"SERVICE_METHOD-C5331A994ED8A635~\",~\"SERVICE_METHOD-EFCBA1A015A4AD29~\")\")))):splitBy():avg:auto:sort(value(avg,descending)):limit(10))/(builtin:service.keyRequest.count.server:filter(and(in(\"dt.entity.service_method\",entitySelector(\"type(service_method),entityId(~\"SERVICE_METHOD-EA852E5283881C68~\",~\"SERVICE_METHOD-6FA84708A746BE9D~\",~\"SERVICE_METHOD-C5331A994ED8A635~\",~\"SERVICE_METHOD-EFCBA1A015A4AD29~\")\")))):splitBy():avg:auto:sort(value(avg,descending)):limit(10)))"
#if not set (removed) it's defaulted to "-1d"