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