OPMAAS-4413 and also Adjusting SLO for SmartRefuel in CN
parent
9f44f8aa9a
commit
05ada81232
|
|
@ -20,14 +20,15 @@ module TP_Vehicle_AppDistribution {
|
||||||
type(~"SERVICE~"),entityName.in(
|
type(~"SERVICE~"),entityName.in(
|
||||||
~"AppsServiceV1 - id5-app - prod~",
|
~"AppsServiceV1 - id5-app - prod~",
|
||||||
~"AppVersionsResource - app-distribution - prod~",
|
~"AppVersionsResource - app-distribution - prod~",
|
||||||
~"ReleaseNotesResource - app-distribution - prod~"
|
~"ReleaseNotesResource - app-distribution - prod~",
|
||||||
|
~"ViewRequestResource - app-distribution - prod~"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
,entityName.in(
|
,entityName.in(
|
||||||
~"getActiveVersionsForApp~",
|
|
||||||
~"getReleaseNotes~",
|
~"getReleaseNotes~",
|
||||||
~"getAppV2~",
|
~"getAppV2~",
|
||||||
~"getAppListV2~"
|
~"getAppListV2~",
|
||||||
|
~"viewPackage~"
|
||||||
)"))))):splitBy())
|
)"))))):splitBy())
|
||||||
EOT
|
EOT
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,23 +15,15 @@ module TP_Vehicle_SmartRefuel {
|
||||||
|
|
||||||
#metric expression of the calculation as done in data explorer ui
|
#metric expression of the calculation as done in data explorer ui
|
||||||
metric_expression = <<-EOT
|
metric_expression = <<-EOT
|
||||||
(100)-
|
(100)-(builtin:service.keyRequest.errors.server.rate:filter(in("dt.entity.service_method",entitySelector("type(~"SERVICE_METHOD~")"))):filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
|
||||||
(builtin:service.keyRequest.errors.server.rate:filter(
|
|
||||||
and(
|
|
||||||
or(
|
|
||||||
in(
|
|
||||||
"dt.entity.service_method",
|
|
||||||
entitySelector("type(service_method),
|
|
||||||
fromRelationship.isServiceMethodOfService(
|
fromRelationship.isServiceMethodOfService(
|
||||||
type(~"SERVICE~"),entityName.contains(~"omcsmtrflce20q3~"),mzName(~"CN_OMC_PROD~")
|
type(~"SERVICE~"),entityName.in(~"omcsmtrflce20q3~",~"omcsmtrflce20q3__eb8a~")
|
||||||
)
|
)
|
||||||
,entityName.in(
|
,entityName.in(
|
||||||
~"/smtrfl/api/v1/order~",
|
~"/smtrfl/api/v1/order~",
|
||||||
~"/smtrfl/api/v1/station/list~",
|
~"/smtrfl/api/v1/station/list~",
|
||||||
~"/smtrfl/api/v1/station/detail~"
|
~"/smtrfl/api/v1/station/detail~"
|
||||||
)")
|
)"))))):splitBy())
|
||||||
)
|
|
||||||
))):splitBy():sum:auto:sort(value(sum,descending)))
|
|
||||||
EOT
|
EOT
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -20,14 +20,15 @@ module TP_Vehicle_AppDistribution {
|
||||||
type(~"SERVICE~"),entityName.in(
|
type(~"SERVICE~"),entityName.in(
|
||||||
~"AppsServiceV1 - id5-app - prod~",
|
~"AppsServiceV1 - id5-app - prod~",
|
||||||
~"AppVersionsResource - app-distribution - prod~",
|
~"AppVersionsResource - app-distribution - prod~",
|
||||||
~"ReleaseNotesResource - app-distribution - prod~"
|
~"ReleaseNotesResource - app-distribution - prod~",
|
||||||
|
~"ViewRequestResource - app-distribution - prod~"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
,entityName.in(
|
,entityName.in(
|
||||||
~"getActiveVersionsForApp~",
|
|
||||||
~"getReleaseNotes~",
|
~"getReleaseNotes~",
|
||||||
~"getAppV2~",
|
~"getAppV2~",
|
||||||
~"getAppListV2~"
|
~"getAppListV2~",
|
||||||
|
~"viewPackage~"
|
||||||
)"))))):splitBy())
|
)"))))):splitBy())
|
||||||
EOT
|
EOT
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -20,14 +20,15 @@ module TP_Vehicle_AppDistribution {
|
||||||
type(~"SERVICE~"),entityName.in(
|
type(~"SERVICE~"),entityName.in(
|
||||||
~"AppsServiceV1 - id5-app - prod~",
|
~"AppsServiceV1 - id5-app - prod~",
|
||||||
~"AppVersionsResource - app-distribution - prod~",
|
~"AppVersionsResource - app-distribution - prod~",
|
||||||
~"ReleaseNotesResource - app-distribution - prod~"
|
~"ReleaseNotesResource - app-distribution - prod~",
|
||||||
|
~"ViewRequestResource - app-distribution - prod~"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
,entityName.in(
|
,entityName.in(
|
||||||
~"getActiveVersionsForApp~",
|
|
||||||
~"getReleaseNotes~",
|
~"getReleaseNotes~",
|
||||||
~"getAppV2~",
|
~"getAppV2~",
|
||||||
~"getAppListV2~"
|
~"getAppListV2~",
|
||||||
|
~"viewPackage~"
|
||||||
)"))))):splitBy())
|
)"))))):splitBy())
|
||||||
EOT
|
EOT
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue