Pull request #63: OPMAAS-3279: Update ICES FestiveMode accordingly recommendations.

Merge in OPAPM/coco_terraform_config from feature/INFOTAIN-30320-update-existing-dashboards-with-suggestions-on-previous-pr to master

* commit '13bb61a73d7bc9c0a5fbc2fdc5130e78f18a7160':
  OPMAAS-3279 - INFOTAIN-30320: Update ICES FestiveMode accordingly recommendations.
OPMAAS-3228
Antonio Canelas (CTW) 2023-01-18 10:04:11 +00:00 committed by Diego Kasika (ext.)
commit 6ccf9cd491
2 changed files with 12 additions and 13 deletions

View File

@ -7,19 +7,19 @@ module ICES_-_FestiveModeAPI {
description = "FestiveModeApi" description = "FestiveModeApi"
#entity selector object #entity selector object
filter = "type(\"SERVICE\"),entityName.in(\"FestiveModeApi\"),tag(\"Environment:PROD\")" filter = "type(\"SERVICE\"),entityName.in(\"FestiveModeApi - ices - prod\")"
#metric expression of the calculation as done in data explorer ui #metric expression of the calculation as done in data explorer ui
metric_expression = "(100)*((1)-(builtin:service.errors.fivexx.rate:splitBy():avg:auto:sort(value(avg,descending)):limit(10))/(builtin:service.requestCount.total:splitBy():sum:auto:sort(value(sum,descending)):limit(10)))" metric_expression = "(100)*((1)-(builtin:service.errors.fivexx.count:splitBy():avg:auto:sort(value(avg,descending)):limit(10))/(builtin:service.requestCount.total:splitBy():sum:auto:sort(value(sum,descending)):limit(10)))"
#if not set (removed) it's defaulted to "-1d"
timeframe = "-1d"
#if not set (removed) it's defaulted to "-1d"
timeframe = "-1d"
#currently the only possible value #currently the only possible value
evaluation = "AGGREGATE" evaluation = "AGGREGATE"

View File

@ -10,12 +10,11 @@ module ICES_-_FestiveModeAPI {
#entity selector object #entity selector object
filter = "type(\"SERVICE\"),entityName.in(\"FestiveModeApi\"),tag(\"Environment:PROD\")" filter = "type(\"SERVICE\"),entityName.in(\"FestiveModeApi - ices - prod\")"
#metric expression of the calculation as done in data explorer ui #metric expression of the calculation as done in data explorer ui
metric_expression = "(100)*((1)-(builtin:service.errors.fivexx.rate:splitBy():avg:auto:sort(value(avg,descending)):limit(10))/(builtin:service.requestCount.total:splitBy():sum:auto:sort(value(sum,descending)):limit(10)))" metric_expression = "(100)*((1)-(builtin:service.errors.fivexx.count:splitBy():avg:auto:sort(value(avg,descending)):limit(10))/(builtin:service.requestCount.total:splitBy():sum:auto:sort(value(sum,descending)):limit(10)))"
#if not set (removed) it's defaulted to "-1d" #if not set (removed) it's defaulted to "-1d"
timeframe = "-1d" timeframe = "-1d"