INFOTAIN-30338: Add SLO DKR and NN
parent
2491752097
commit
a6fc68690e
|
|
@ -0,0 +1,104 @@
|
|||
module CCIS_DKR_DigitalKeyRing_Requests {
|
||||
|
||||
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
|
||||
|
||||
|
||||
name = "CCIS-DKR - Generic - Requests"
|
||||
description = "Success rate of Generic"
|
||||
|
||||
|
||||
#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(
|
||||
~"KeyApi - ccis - prod~",
|
||||
~"RecoveryApi - ccis - prod~",
|
||||
~"UserApi - ccis - prod~"
|
||||
),
|
||||
tag(~"Environment:PROD~")
|
||||
),entityName.in(
|
||||
~"getKeys~",
|
||||
~"patchKey~",
|
||||
~"createKey~",
|
||||
~"deleteSingleKey~",
|
||||
~"deleteKeys~",
|
||||
~"createRecoveryRequest~",
|
||||
~"deleteRecoveryRequest~",
|
||||
~"getRecoveryRequest~",
|
||||
~"finishRecoveryRequest~",
|
||||
~"getRecoveryRequests~",
|
||||
~"getUser~",
|
||||
~"getDkrKeyVersion~",
|
||||
~"resetDkrKeyVersion~",
|
||||
~"deleteDevice~",
|
||||
~"addDevice~",
|
||||
~"getDevices~",
|
||||
~"putUser~",
|
||||
~"deleteUser~"
|
||||
)"
|
||||
)
|
||||
)
|
||||
))):splitBy())
|
||||
/
|
||||
(builtin:service.keyRequest.count.server:filter(
|
||||
and(
|
||||
or(
|
||||
in(
|
||||
"dt.entity.service_method",
|
||||
entitySelector(
|
||||
"type(service_method),
|
||||
fromRelationship.isServiceMethodOfService(
|
||||
type(~"SERVICE~"),entityName.in(
|
||||
~"KeyApi - ccis - prod~",
|
||||
~"RecoveryApi - ccis - prod~",
|
||||
~"UserApi - ccis - prod~"
|
||||
),tag(~"Environment:PROD~")
|
||||
),entityName.in(
|
||||
~"getKeys~",
|
||||
~"patchKey~",
|
||||
~"createKey~",
|
||||
~"deleteSingleKey~",
|
||||
~"deleteKeys~",
|
||||
~"createRecoveryRequest~",
|
||||
~"deleteRecoveryRequest~",
|
||||
~"getRecoveryRequest~",
|
||||
~"finishRecoveryRequest~",
|
||||
~"getRecoveryRequests~",
|
||||
~"getUser~",
|
||||
~"getDkrKeyVersion~",
|
||||
~"resetDkrKeyVersion~",
|
||||
~"deleteDevice~",
|
||||
~"addDevice~",
|
||||
~"getDevices~",
|
||||
~"putUser~",
|
||||
~"deleteUser~"
|
||||
)"
|
||||
)
|
||||
)
|
||||
))):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,71 @@
|
|||
module CCIS_NN_ExploreNews_Requests {
|
||||
|
||||
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
|
||||
|
||||
|
||||
name = "CCIS-NN - ExploreNews - Requests"
|
||||
description = "Success rate of ExploreNews"
|
||||
|
||||
|
||||
#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(
|
||||
~"EpisodeApi - ccis - prod~",
|
||||
~"DownloadApi - ccis - prod~"
|
||||
),tag(~"Environment:PROD~")
|
||||
),entityName.in(
|
||||
~"getFlashEpisode~",
|
||||
~"getEpisodes~",
|
||||
~"download~"
|
||||
)"
|
||||
)
|
||||
)
|
||||
))):splitBy())
|
||||
/
|
||||
(builtin:service.keyRequest.count.server:filter(
|
||||
and(
|
||||
or(
|
||||
in(
|
||||
"dt.entity.service_method",
|
||||
entitySelector(
|
||||
"type(service_method),
|
||||
fromRelationship.isServiceMethodOfService(
|
||||
type(~"SERVICE~"),entityName.in(
|
||||
~"EpisodeApi - ccis - prod~",
|
||||
~"DownloadApi - ccis - prod~"
|
||||
), tag(~"Environment:PROD~")
|
||||
),entityName.in(
|
||||
~"getFlashEpisode~",
|
||||
~"getEpisodes~",
|
||||
~"download~"
|
||||
)"
|
||||
)
|
||||
)
|
||||
))):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,69 @@
|
|||
module CCIS_NN_LaunchApp_Requests {
|
||||
|
||||
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
|
||||
|
||||
|
||||
name = "CCIS-NN - LaunchApp - Requests"
|
||||
description = "Success rate of LaunchApp"
|
||||
|
||||
|
||||
#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(
|
||||
~"UserApi - ccis - prod~"
|
||||
),tag(~"Environment:PROD~")
|
||||
),entityName.in(
|
||||
~"getUser~",
|
||||
~"createUser~",
|
||||
~"deleteUser~"
|
||||
)"
|
||||
)
|
||||
)
|
||||
))):splitBy())
|
||||
/
|
||||
(builtin:service.keyRequest.count.server:filter(
|
||||
and(
|
||||
or(
|
||||
in(
|
||||
"dt.entity.service_method",
|
||||
entitySelector(
|
||||
"type(service_method),
|
||||
fromRelationship.isServiceMethodOfService(
|
||||
type(~"SERVICE~"),entityName.in(
|
||||
~"UserApi - ccis - prod~"
|
||||
),tag(~"Environment:PROD~")
|
||||
),entityName.in(
|
||||
~"getUser~",
|
||||
~"createUser~",
|
||||
~"deleteUser~"
|
||||
)"
|
||||
)
|
||||
)
|
||||
))):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,65 @@
|
|||
module CCIS_NN_PlayEpisode_Requests {
|
||||
|
||||
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
|
||||
|
||||
|
||||
name = "CCIS-NN - PlayEpisode - Requests"
|
||||
description = "Success rate of PlayEpisode"
|
||||
|
||||
|
||||
#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(
|
||||
~"DownloadApi - ccis - prod~"
|
||||
),tag(~"Environment:PROD~")
|
||||
),entityName.in(
|
||||
~"download~"
|
||||
)"
|
||||
)
|
||||
)
|
||||
))):splitBy())
|
||||
/
|
||||
(builtin:service.keyRequest.count.server:filter(
|
||||
and(
|
||||
or(
|
||||
in(
|
||||
"dt.entity.service_method",
|
||||
entitySelector(
|
||||
"type(service_method),
|
||||
fromRelationship.isServiceMethodOfService(
|
||||
type(~"SERVICE~"),entityName.in(
|
||||
~"DownloadApi - ccis - prod~"
|
||||
),tag(~"Environment:PROD~")
|
||||
),entityName.in(
|
||||
~"download~"
|
||||
)"
|
||||
)
|
||||
)
|
||||
))):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,67 @@
|
|||
module CCIS_NN_SetPreferences_Requests {
|
||||
|
||||
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
|
||||
|
||||
|
||||
name = "CCIS-NN - SetPreferences - Requests"
|
||||
description = "Success rate of SetPreferences"
|
||||
|
||||
|
||||
#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(
|
||||
~"CategoryApi - ccis - prod~"
|
||||
),tag(~"Environment:PROD~")
|
||||
),entityName.in(
|
||||
~"muteCategories~",
|
||||
~"getUserCategories~"
|
||||
)"
|
||||
)
|
||||
)
|
||||
))):splitBy())
|
||||
/
|
||||
(builtin:service.keyRequest.count.server:filter(
|
||||
and(
|
||||
or(
|
||||
in(
|
||||
"dt.entity.service_method",
|
||||
entitySelector(
|
||||
"type(service_method),
|
||||
fromRelationship.isServiceMethodOfService(
|
||||
type(~"SERVICE~"),entityName.in(
|
||||
~"CategoryApi - ccis - prod~"
|
||||
),tag(~"Environment:PROD~")
|
||||
),entityName.in(
|
||||
~"muteCategories~",
|
||||
~"getUserCategories~"
|
||||
)"
|
||||
)
|
||||
)
|
||||
))):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,71 @@
|
|||
module CCIS_NN_ExploreNews_Requests {
|
||||
|
||||
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
|
||||
|
||||
|
||||
name = "CCIS-NN - ExploreNews - Requests"
|
||||
description = "Success rate of ExploreNews"
|
||||
|
||||
|
||||
#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(
|
||||
~"EpisodeApi - ccis - prod~",
|
||||
~"DownloadApi - ccis - prod~"
|
||||
),tag(~"Environment:PROD~")
|
||||
),entityName.in(
|
||||
~"getFlashEpisode~",
|
||||
~"getEpisodes~",
|
||||
~"download~"
|
||||
)"
|
||||
)
|
||||
)
|
||||
))):splitBy())
|
||||
/
|
||||
(builtin:service.keyRequest.count.server:filter(
|
||||
and(
|
||||
or(
|
||||
in(
|
||||
"dt.entity.service_method",
|
||||
entitySelector(
|
||||
"type(service_method),
|
||||
fromRelationship.isServiceMethodOfService(
|
||||
type(~"SERVICE~"),entityName.in(
|
||||
~"EpisodeApi - ccis - prod~",
|
||||
~"DownloadApi - ccis - prod~"
|
||||
), tag(~"Environment:PROD~")
|
||||
),entityName.in(
|
||||
~"getFlashEpisode~",
|
||||
~"getEpisodes~",
|
||||
~"download~"
|
||||
)"
|
||||
)
|
||||
)
|
||||
))):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,69 @@
|
|||
module CCIS_NN_LaunchApp_Requests {
|
||||
|
||||
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
|
||||
|
||||
|
||||
name = "CCIS-NN - LaunchApp - Requests"
|
||||
description = "Success rate of LaunchApp"
|
||||
|
||||
|
||||
#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(
|
||||
~"UserApi - ccis - prod~"
|
||||
),tag(~"Environment:PROD~")
|
||||
),entityName.in(
|
||||
~"getUser~",
|
||||
~"createUser~",
|
||||
~"deleteUser~"
|
||||
)"
|
||||
)
|
||||
)
|
||||
))):splitBy())
|
||||
/
|
||||
(builtin:service.keyRequest.count.server:filter(
|
||||
and(
|
||||
or(
|
||||
in(
|
||||
"dt.entity.service_method",
|
||||
entitySelector(
|
||||
"type(service_method),
|
||||
fromRelationship.isServiceMethodOfService(
|
||||
type(~"SERVICE~"),entityName.in(
|
||||
~"UserApi - ccis - prod~"
|
||||
),tag(~"Environment:PROD~")
|
||||
),entityName.in(
|
||||
~"getUser~",
|
||||
~"createUser~",
|
||||
~"deleteUser~"
|
||||
)"
|
||||
)
|
||||
)
|
||||
))):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,65 @@
|
|||
module CCIS_NN_PlayEpisode_Requests {
|
||||
|
||||
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
|
||||
|
||||
|
||||
name = "CCIS-NN - PlayEpisode - Requests"
|
||||
description = "Success rate of PlayEpisode"
|
||||
|
||||
|
||||
#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(
|
||||
~"DownloadApi - ccis - prod~"
|
||||
),tag(~"Environment:PROD~")
|
||||
),entityName.in(
|
||||
~"download~"
|
||||
)"
|
||||
)
|
||||
)
|
||||
))):splitBy())
|
||||
/
|
||||
(builtin:service.keyRequest.count.server:filter(
|
||||
and(
|
||||
or(
|
||||
in(
|
||||
"dt.entity.service_method",
|
||||
entitySelector(
|
||||
"type(service_method),
|
||||
fromRelationship.isServiceMethodOfService(
|
||||
type(~"SERVICE~"),entityName.in(
|
||||
~"DownloadApi - ccis - prod~"
|
||||
),tag(~"Environment:PROD~")
|
||||
),entityName.in(
|
||||
~"download~"
|
||||
)"
|
||||
)
|
||||
)
|
||||
))):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,67 @@
|
|||
module CCIS_NN_SetPreferences_Requests {
|
||||
|
||||
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
|
||||
|
||||
|
||||
name = "CCIS-NN - SetPreferences - Requests"
|
||||
description = "Success rate of SetPreferences"
|
||||
|
||||
|
||||
#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(
|
||||
~"CategoryApi - ccis - prod~"
|
||||
),tag(~"Environment:PROD~")
|
||||
),entityName.in(
|
||||
~"muteCategories~",
|
||||
~"getUserCategories~"
|
||||
)"
|
||||
)
|
||||
)
|
||||
))):splitBy())
|
||||
/
|
||||
(builtin:service.keyRequest.count.server:filter(
|
||||
and(
|
||||
or(
|
||||
in(
|
||||
"dt.entity.service_method",
|
||||
entitySelector(
|
||||
"type(service_method),
|
||||
fromRelationship.isServiceMethodOfService(
|
||||
type(~"SERVICE~"),entityName.in(
|
||||
~"CategoryApi - ccis - prod~"
|
||||
),tag(~"Environment:PROD~")
|
||||
),entityName.in(
|
||||
~"muteCategories~",
|
||||
~"getUserCategories~"
|
||||
)"
|
||||
)
|
||||
)
|
||||
))):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