OPMAAS-3279 - INFOTAIN-30320: Update ICES FestiveMode accordingly recommendations.
parent
7effc94c41
commit
13bb61a73d
|
|
@ -7,19 +7,19 @@ module ICES_-_FestiveModeAPI {
|
|||
|
||||
description = "FestiveModeApi"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#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 = "(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
|
||||
evaluation = "AGGREGATE"
|
||||
|
|
|
|||
|
|
@ -10,12 +10,11 @@ module ICES_-_FestiveModeAPI {
|
|||
|
||||
|
||||
#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 = "(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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue