New SLOs added

test_branch_mo
Stephan Huber 2022-06-22 14:50:22 +02:00
parent e8192a1720
commit 458eb1d5ec
22 changed files with 894 additions and 8 deletions

6
.gitignore vendored
View File

@ -35,4 +35,8 @@ override.tf.json
# Ignore CLI configuration files
.terraformrc
terraform.rc
terraform.rc
.DS_Store
SLO.xcworkspace/contents.xcworkspacedata
SLO.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
SLO.xcworkspace/xcuserdata/q281667.xcuserdatad/UserInterfaceState.xcuserstate

View File

@ -1,11 +1,11 @@
module ICES_-_AmbientMusicAPI_-_EMEA_-_PROD {
module ICES_-_AmbientMusicAPI {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "ICES - AmbientMusicAPI - EMEA - PROD"
name = "ICES - AmbientMusicAPI"
description = "AmbientMusicAPI_Draft"
description = "AmbientMusicAPI"

View File

@ -1,16 +1,16 @@
module ICES_-_FestiveModeAPI_-_EMEA_-_PROD {
module ICES_-_FestiveModeAPI {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "ICES - FestiveModeAPI - EMEA - PROD"
name = "ICES - FestiveModeAPI"
description = "FestivalModeApi_Draft"
description = "FestivalModeApi"
#entity selector object
filter = "type(\"SERVICE\"),entityId(\"SERVICE-18F87DC705354AC6\")"
filter = "type(\"SERVICE\"),entityName(\"FestiveModeApi\"),tag(\"Environment:PROD\")"
#metric expression of the calculation as done in data explorer ui

View File

@ -0,0 +1,50 @@
module ICES_AmbientMusicAPI_getTracks {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "ICES - AmbientMusicAPI - getTracks"
description = "AmbientMusicAPI_getTracks_success_rate"
#entity selector object
filter = ""
#metric expression of the calculation as done in data explorer ui
metric_expression = <<-EOT
(100)*((1)-(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~"
),
tag(~"Environment:PROD~")
)
,entityName.in(
~"getTracks~"
)"))))):splitBy())
/
(builtin:service.keyRequest.count.server:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"AmbientMusicApiImpl~"
),
tag(~"Environment:PROD~")
)
,entityName.in(
~"getTracks~"
)"))))):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
}

View File

@ -0,0 +1,50 @@
module ICES_FestiveModeAPI_getFestival {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "ICES - FestiveModeAPI - getFestival"
description = "FestiveModeAPI_getFestival_success_rate"
#entity selector object
filter = ""
#metric expression of the calculation as done in data explorer ui
metric_expression = <<-EOT
(100)*((1)-(builtin:service.keyRequest.errors.fivexx.count:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"FestiveModeApiImpl~"
),
tag(~"Environment:PROD~")
)
,entityName.in(
~"getFestival~"
)"))))):splitBy())
/
(builtin:service.keyRequest.count.server:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"FestiveModeApiImpl~"
),
tag(~"Environment:PROD~")
)
,entityName.in(
~"getFestival~"
)"))))):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
}

View File

@ -0,0 +1,50 @@
module ICES_FestiveModeAPI_getFestivals {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "ICES - FestiveModeAPI - getFestivals"
description = "FestiveModeAPI_getFestivals_success_rate"
#entity selector object
filter = ""
#metric expression of the calculation as done in data explorer ui
metric_expression = <<-EOT
(100)*((1)-(builtin:service.keyRequest.errors.fivexx.count:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"FestiveModeApiImpl~"
),
tag(~"Environment:PROD~")
)
,entityName.in(
~"getFestivals~"
)"))))):splitBy())
/
(builtin:service.keyRequest.count.server:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"FestiveModeApiImpl~"
),
tag(~"Environment:PROD~")
)
,entityName.in(
~"getFestivals~"
)"))))):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
}

View File

@ -0,0 +1,50 @@
module ICES_FestiveModeAPI_getIcon {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "ICES - FestiveModeAPI - getIcon"
description = "FestiveModeAPI_getIcon_success_rate"
#entity selector object
filter = ""
#metric expression of the calculation as done in data explorer ui
metric_expression = <<-EOT
(100)*((1)-(builtin:service.keyRequest.errors.fivexx.count:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"FestiveModeApiImpl~"
),
tag(~"Environment:PROD~")
)
,entityName.in(
~"getIcon~"
)"))))):splitBy())
/
(builtin:service.keyRequest.count.server:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"FestiveModeApiImpl~"
),
tag(~"Environment:PROD~")
)
,entityName.in(
~"getIcon~"
)"))))):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
}

View File

@ -0,0 +1,50 @@
module ICES_FestiveModeAPI_getVideo {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "ICES - FestiveModeAPI - getVideo"
description = "FestiveModeAPI_getVideo_success_rate"
#entity selector object
filter = ""
#metric expression of the calculation as done in data explorer ui
metric_expression = <<-EOT
(100)*((1)-(builtin:service.keyRequest.errors.fivexx.count:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"FestiveModeApiImpl~"
),
tag(~"Environment:PROD~")
)
,entityName.in(
~"getVideo~"
)"))))):splitBy())
/
(builtin:service.keyRequest.count.server:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"FestiveModeApiImpl~"
),
tag(~"Environment:PROD~")
)
,entityName.in(
~"getVideo~"
)"))))):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
}

View File

@ -0,0 +1,33 @@
module ICES_-_AmbientMusicAPI {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "ICES - AmbientMusicAPI"
description = "AmbientMusicAPI"
#entity selector object
filter = "type(\"SERVICE\"),entityName(\"AmbientMusicApiImpl\"),tag(\"Environment: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)))"
#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
}

View File

@ -0,0 +1,33 @@
module ICES_-_FestiveModeAPI {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "ICES - FestiveModeAPI"
description = "FestivalModeApi"
#entity selector object
filter = "type(\"SERVICE\"),entityName(\"FestiveModeApi\"),tag(\"Environment: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)))"
#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
}

View File

@ -0,0 +1,50 @@
module ICES_AmbientMusicAPI_getTracks {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "ICES - AmbientMusicAPI - getTracks"
description = "AmbientMusicAPI_getTracks_success_rate"
#entity selector object
filter = ""
#metric expression of the calculation as done in data explorer ui
metric_expression = <<-EOT
(100)*((1)-(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~"
),
tag(~"Environment:PROD~")
)
,entityName.in(
~"getTracks~"
)"))))):splitBy())
/
(builtin:service.keyRequest.count.server:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"AmbientMusicApiImpl~"
),
tag(~"Environment:PROD~")
)
,entityName.in(
~"getTracks~"
)"))))):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
}

View File

@ -0,0 +1,50 @@
module ICES_FestiveModeAPI_getFestival {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "ICES - FestiveModeAPI - getFestival"
description = "FestiveModeAPI_getFestival_success_rate"
#entity selector object
filter = ""
#metric expression of the calculation as done in data explorer ui
metric_expression = <<-EOT
(100)*((1)-(builtin:service.keyRequest.errors.fivexx.count:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"FestiveModeApiImpl~"
),
tag(~"Environment:PROD~")
)
,entityName.in(
~"getFestival~"
)"))))):splitBy())
/
(builtin:service.keyRequest.count.server:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"FestiveModeApiImpl~"
),
tag(~"Environment:PROD~")
)
,entityName.in(
~"getFestival~"
)"))))):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
}

View File

@ -0,0 +1,50 @@
module ICES_FestiveModeAPI_getFestivals {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "ICES - FestiveModeAPI - getFestivals"
description = "FestiveModeAPI_getFestivals_success_rate"
#entity selector object
filter = ""
#metric expression of the calculation as done in data explorer ui
metric_expression = <<-EOT
(100)*((1)-(builtin:service.keyRequest.errors.fivexx.count:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"FestiveModeApiImpl~"
),
tag(~"Environment:PROD~")
)
,entityName.in(
~"getFestivals~"
)"))))):splitBy())
/
(builtin:service.keyRequest.count.server:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"FestiveModeApiImpl~"
),
tag(~"Environment:PROD~")
)
,entityName.in(
~"getFestivals~"
)"))))):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
}

View File

@ -0,0 +1,50 @@
module ICES_FestiveModeAPI_getIcon {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "ICES - FestiveModeAPI - getIcon"
description = "FestiveModeAPI_getIcon_success_rate"
#entity selector object
filter = ""
#metric expression of the calculation as done in data explorer ui
metric_expression = <<-EOT
(100)*((1)-(builtin:service.keyRequest.errors.fivexx.count:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"FestiveModeApiImpl~"
),
tag(~"Environment:PROD~")
)
,entityName.in(
~"getIcon~"
)"))))):splitBy())
/
(builtin:service.keyRequest.count.server:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"FestiveModeApiImpl~"
),
tag(~"Environment:PROD~")
)
,entityName.in(
~"getIcon~"
)"))))):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
}

View File

@ -0,0 +1,50 @@
module ICES_FestiveModeAPI_getVideo {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "ICES - FestiveModeAPI - getVideo"
description = "FestiveModeAPI_getVideo_success_rate"
#entity selector object
filter = ""
#metric expression of the calculation as done in data explorer ui
metric_expression = <<-EOT
(100)*((1)-(builtin:service.keyRequest.errors.fivexx.count:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"FestiveModeApiImpl~"
),
tag(~"Environment:PROD~")
)
,entityName.in(
~"getVideo~"
)"))))):splitBy())
/
(builtin:service.keyRequest.count.server:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"FestiveModeApiImpl~"
),
tag(~"Environment:PROD~")
)
,entityName.in(
~"getVideo~"
)"))))):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
}

View File

@ -0,0 +1,33 @@
module ICES_-_AmbientMusicAPI {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "ICES - AmbientMusicAPI"
description = "AmbientMusicAPI"
#entity selector object
filter = "type(\"SERVICE\"),entityName(\"AmbientMusicApiImpl\"),tag(\"Environment: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)))"
#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
}

View File

@ -0,0 +1,33 @@
module ICES_-_FestiveModeAPI {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "ICES - FestiveModeAPI"
description = "FestivalModeApi"
#entity selector object
filter = "type(\"SERVICE\"),entityName(\"FestiveModeApi\"),tag(\"Environment: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)))"
#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
}

View File

@ -0,0 +1,50 @@
module ICES_AmbientMusicAPI_getTracks {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "ICES - AmbientMusicAPI - getTracks"
description = "AmbientMusicAPI_getTracks_success_rate"
#entity selector object
filter = ""
#metric expression of the calculation as done in data explorer ui
metric_expression = <<-EOT
(100)*((1)-(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~"
),
tag(~"Environment:PROD~")
)
,entityName.in(
~"getTracks~"
)"))))):splitBy())
/
(builtin:service.keyRequest.count.server:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"AmbientMusicApiImpl~"
),
tag(~"Environment:PROD~")
)
,entityName.in(
~"getTracks~"
)"))))):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
}

View File

@ -0,0 +1,50 @@
module ICES_FestiveModeAPI_getFestival {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "ICES - FestiveModeAPI - getFestival"
description = "FestiveModeAPI_getFestival_success_rate"
#entity selector object
filter = ""
#metric expression of the calculation as done in data explorer ui
metric_expression = <<-EOT
(100)*((1)-(builtin:service.keyRequest.errors.fivexx.count:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"FestiveModeApiImpl~"
),
tag(~"Environment:PROD~")
)
,entityName.in(
~"getFestival~"
)"))))):splitBy())
/
(builtin:service.keyRequest.count.server:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"FestiveModeApiImpl~"
),
tag(~"Environment:PROD~")
)
,entityName.in(
~"getFestival~"
)"))))):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
}

View File

@ -0,0 +1,50 @@
module ICES_FestiveModeAPI_getFestivals {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "ICES - FestiveModeAPI - getFestivals"
description = "FestiveModeAPI_getFestivals_success_rate"
#entity selector object
filter = ""
#metric expression of the calculation as done in data explorer ui
metric_expression = <<-EOT
(100)*((1)-(builtin:service.keyRequest.errors.fivexx.count:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"FestiveModeApiImpl~"
),
tag(~"Environment:PROD~")
)
,entityName.in(
~"getFestivals~"
)"))))):splitBy())
/
(builtin:service.keyRequest.count.server:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"FestiveModeApiImpl~"
),
tag(~"Environment:PROD~")
)
,entityName.in(
~"getFestivals~"
)"))))):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
}

View File

@ -0,0 +1,50 @@
module ICES_FestiveModeAPI_getIcon {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "ICES - FestiveModeAPI - getIcon"
description = "FestiveModeAPI_getIcon_success_rate"
#entity selector object
filter = ""
#metric expression of the calculation as done in data explorer ui
metric_expression = <<-EOT
(100)*((1)-(builtin:service.keyRequest.errors.fivexx.count:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"FestiveModeApiImpl~"
),
tag(~"Environment:PROD~")
)
,entityName.in(
~"getIcon~"
)"))))):splitBy())
/
(builtin:service.keyRequest.count.server:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"FestiveModeApiImpl~"
),
tag(~"Environment:PROD~")
)
,entityName.in(
~"getIcon~"
)"))))):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
}

View File

@ -0,0 +1,50 @@
module ICES_FestiveModeAPI_getVideo {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "ICES - FestiveModeAPI - getVideo"
description = "FestiveModeAPI_getVideo_success_rate"
#entity selector object
filter = ""
#metric expression of the calculation as done in data explorer ui
metric_expression = <<-EOT
(100)*((1)-(builtin:service.keyRequest.errors.fivexx.count:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"FestiveModeApiImpl~"
),
tag(~"Environment:PROD~")
)
,entityName.in(
~"getVideo~"
)"))))):splitBy())
/
(builtin:service.keyRequest.count.server:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"FestiveModeApiImpl~"
),
tag(~"Environment:PROD~")
)
,entityName.in(
~"getVideo~"
)"))))):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
}