new SLO for getAudio was created, s. Jira-Ticket OPMAAS-1576
parent
295d2422a4
commit
fd794abc2b
|
|
@ -0,0 +1,48 @@
|
||||||
|
module ICES_AmbientMusicAPI_getAudio_EMEA_PROD {
|
||||||
|
|
||||||
|
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
|
||||||
|
|
||||||
|
|
||||||
|
name = "ICES - AmbientMusicAPI - getAudio - EMEA - PROD"
|
||||||
|
description = "AmbientMusicAPI_getAudio_failure_rate"
|
||||||
|
|
||||||
|
|
||||||
|
#entity selector object
|
||||||
|
filter = ""
|
||||||
|
|
||||||
|
#metric expression of the calculation as done in data explorer ui
|
||||||
|
metric_expression = <<-EOT
|
||||||
|
|
||||||
|
(100)*((builtin:service.keyRequest.errors.fivexx.count:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
|
||||||
|
fromRelationship.isServiceMethodOfService(
|
||||||
|
type(~"SERVICE~"),entityName.in(
|
||||||
|
~"AmbientMusicApiImpl~"
|
||||||
|
)
|
||||||
|
)
|
||||||
|
,entityName.in(
|
||||||
|
~"getAudio~"
|
||||||
|
)"))))):splitBy())
|
||||||
|
/
|
||||||
|
(builtin:service.keyRequest.count.total:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
|
||||||
|
fromRelationship.isServiceMethodOfService(
|
||||||
|
type(~"SERVICE~"),entityName.in(
|
||||||
|
~"AmbientMusicApiImpl~"
|
||||||
|
)
|
||||||
|
)
|
||||||
|
,entityName.in(
|
||||||
|
~"getAudio~"
|
||||||
|
)"))))):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