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
commit
6ccf9cd491
|
|
@ -10,11 +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"
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue