Pull request #144: OPMAAS-4391
Merge in OPAPM/coco_terraform_config from OPMAAS-4391 to master * commit '7fbd23ae62e27027dd6a7dc2dcb5f6208a84063d': OPMAAS-4391 - Formated OPMAAS-4391 without output phrase OPMAAS-4391 created SLO in NA and CN OPMAAS-4391 created SLO in EMEA_PRODOPMAAS-4559
commit
aedef255b3
|
|
@ -0,0 +1,43 @@
|
||||||
|
module TP_Mobile_MyTrips_Draft {
|
||||||
|
|
||||||
|
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
|
||||||
|
|
||||||
|
|
||||||
|
name = "TP_Mobile_MyTrips_Draft"
|
||||||
|
description = ""
|
||||||
|
|
||||||
|
|
||||||
|
#entity selector object
|
||||||
|
filter = ""
|
||||||
|
|
||||||
|
#metric expression of the calculation as done in data explorer ui
|
||||||
|
metric_expression = <<EOT
|
||||||
|
100-(builtin:service.keyRequest.errors.client.rate:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
|
||||||
|
fromRelationship.isServiceMethodOfService(
|
||||||
|
type(~"SERVICE~"),entityName.in(
|
||||||
|
~"SustainabilityCompositeService - PROD~",
|
||||||
|
~"TripDataApi - ices - prod~"
|
||||||
|
)
|
||||||
|
),entityName.in(
|
||||||
|
~"addTrip~",
|
||||||
|
~"addTripList~",
|
||||||
|
~"/api/v1/vehicles/sustainability~",
|
||||||
|
~"/api/v1/vehicles/sustainability/trips/history~",
|
||||||
|
~"/api/v1/vehicles/sustainability/trips/summary/[UUID]~",
|
||||||
|
~"/api/v1/vehicles/sustainability/widget~",
|
||||||
|
~"/api/v1/vehicles/sustainability/trips/statistics~",
|
||||||
|
~"/api/v1/vehicles/sustainability/trips/summary~"
|
||||||
|
)"))))):splitBy())
|
||||||
|
EOT
|
||||||
|
|
||||||
|
#if not set (removed) it's defaulted to "-1d"
|
||||||
|
timeframe = "-1d"
|
||||||
|
|
||||||
|
#currently the only possible value
|
||||||
|
evaluation = "AGGREGATE"
|
||||||
|
|
||||||
|
#Target and warning percentage of the SLO as double
|
||||||
|
target = 98 #if not set(removed) it's defaulted to 98
|
||||||
|
warning = 99 #if not set(removed) it's defaulted to 99
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,43 @@
|
||||||
|
module TP_Mobile_MyTrips_Draft {
|
||||||
|
|
||||||
|
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
|
||||||
|
|
||||||
|
|
||||||
|
name = "TP_Mobile_MyTrips_Draft"
|
||||||
|
description = ""
|
||||||
|
|
||||||
|
|
||||||
|
#entity selector object
|
||||||
|
filter = ""
|
||||||
|
|
||||||
|
#metric expression of the calculation as done in data explorer ui
|
||||||
|
metric_expression = <<EOT
|
||||||
|
100-(builtin:service.keyRequest.errors.client.rate:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
|
||||||
|
fromRelationship.isServiceMethodOfService(
|
||||||
|
type(~"SERVICE~"),entityName.in(
|
||||||
|
~"SustainabilityCompositeService - PROD~",
|
||||||
|
~"TripDataApi - ices - prod~"
|
||||||
|
)
|
||||||
|
),entityName.in(
|
||||||
|
~"addTrip~",
|
||||||
|
~"addTripList~",
|
||||||
|
~"/api/v1/vehicles/sustainability~",
|
||||||
|
~"/api/v1/vehicles/sustainability/trips/history~",
|
||||||
|
~"/api/v1/vehicles/sustainability/trips/summary/[UUID]~",
|
||||||
|
~"/api/v1/vehicles/sustainability/widget~",
|
||||||
|
~"/api/v1/vehicles/sustainability/trips/statistics~",
|
||||||
|
~"/api/v1/vehicles/sustainability/trips/summary~"
|
||||||
|
)"))))):splitBy())
|
||||||
|
EOT
|
||||||
|
|
||||||
|
#if not set (removed) it's defaulted to "-1d"
|
||||||
|
timeframe = "-1d"
|
||||||
|
|
||||||
|
#currently the only possible value
|
||||||
|
evaluation = "AGGREGATE"
|
||||||
|
|
||||||
|
#Target and warning percentage of the SLO as double
|
||||||
|
target = 98 #if not set(removed) it's defaulted to 98
|
||||||
|
warning = 99 #if not set(removed) it's defaulted to 99
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,43 @@
|
||||||
|
module TP_Mobile_MyTrips_Draft {
|
||||||
|
|
||||||
|
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
|
||||||
|
|
||||||
|
|
||||||
|
name = "TP_Mobile_MyTrips_Draft"
|
||||||
|
description = ""
|
||||||
|
|
||||||
|
|
||||||
|
#entity selector object
|
||||||
|
filter = ""
|
||||||
|
|
||||||
|
#metric expression of the calculation as done in data explorer ui
|
||||||
|
metric_expression = <<EOT
|
||||||
|
100-(builtin:service.keyRequest.errors.client.rate:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
|
||||||
|
fromRelationship.isServiceMethodOfService(
|
||||||
|
type(~"SERVICE~"),entityName.in(
|
||||||
|
~"SustainabilityCompositeService - PROD~",
|
||||||
|
~"TripDataApi - ices - prod~"
|
||||||
|
)
|
||||||
|
),entityName.in(
|
||||||
|
~"addTrip~",
|
||||||
|
~"addTripList~",
|
||||||
|
~"/api/v1/vehicles/sustainability~",
|
||||||
|
~"/api/v1/vehicles/sustainability/trips/history~",
|
||||||
|
~"/api/v1/vehicles/sustainability/trips/summary/[UUID]~",
|
||||||
|
~"/api/v1/vehicles/sustainability/widget~",
|
||||||
|
~"/api/v1/vehicles/sustainability/trips/statistics~",
|
||||||
|
~"/api/v1/vehicles/sustainability/trips/summary~"
|
||||||
|
)"))))):splitBy())
|
||||||
|
EOT
|
||||||
|
|
||||||
|
#if not set (removed) it's defaulted to "-1d"
|
||||||
|
timeframe = "-1d"
|
||||||
|
|
||||||
|
#currently the only possible value
|
||||||
|
evaluation = "AGGREGATE"
|
||||||
|
|
||||||
|
#Target and warning percentage of the SLO as double
|
||||||
|
target = 98 #if not set(removed) it's defaulted to 98
|
||||||
|
warning = 99 #if not set(removed) it's defaulted to 99
|
||||||
|
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue