Pull request #57: Adjusting service method names.

Merge in OPAPM/coco_terraform_config from OPMAAS-3212 to master

* commit '6819e9681471b6d4671e2872450fa89eec06c868':
  Adjusting service method names.
feature/INFOTAIN-30320-update-existing-dashboards-with-suggestions-on-previous-pr
Arnel Arnautovic (ext.) 2023-01-11 09:21:50 +00:00
commit 1b6bd23ef1
1 changed files with 10 additions and 2 deletions

View File

@ -15,8 +15,16 @@ module Wirkkette__Smart_Parking__-_Reliability_of_key_requests {
#metric expression of the calculation as done in data explorer ui
metric_expression = <<-EOT
(100)*(builtin:service.keyRequest.errors.server.successCount:filter(and(in("dt.entity.service_method",entitySelector("type(service_method),entityId(~"SERVICE_METHOD-4E245476BA8641DA~",~"SERVICE_METHOD-37009FDC936058F3~")")))):splitBy())/(builtin:service.keyRequest.count.server:filter(and(in("dt.entity.service_method",entitySelector("type(service_method),entityId(~"SERVICE_METHOD-4E245476BA8641DA~",~"SERVICE_METHOD-37009FDC936058F3~")")))):splitBy())
(100)*(builtin:service.keyRequest.errors.server.successCount:filter(and(in("dt.entity.service_method",entitySelector("type(service_method),
entityId(
~"/sppid7/parkingfinder/v1/EstimatedTimeArrival/getETA~",
~"/parkingfinder/v2.0/getParkingLots~",
)")))):splitBy())
/
(builtin:service.keyRequest.count.server:filter(and(in("dt.entity.service_method",entitySelector("type(service_method),
entityId(
~"/sppid7/parkingfinder/v1/EstimatedTimeArrival/getETA~",
~"/parkingfinder/v2.0/getParkingLots~",)")))):splitBy())
EOT