Pull request #3: Creating SLO for OPMAAS-1459

Merge in OPAPM/coco_terraform_config from OPMAAS-1459 to master

* commit '1ebff3ade4dee5f0ff730f9e385dbae054b7dc81':
  Creating SLO for OPMAAS-1459
M_sloFix
Arnel Arnautovic (ext.) 2022-04-08 10:53:56 +02:00
commit cc9203d549
1 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,33 @@
module ICES_-_FestiveModeAPI_-_EMEA_-_PROD {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "ICES - AmbientMusicAPI - EMEA - PROD"
description = "AmbientMusicAPI_Draft"
#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
}