module TP_Mobile_Remote360 { source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" name = "TP_Mobile_Remote360" description = "2.0 SLO Mobile" #entity selector object filter = "" #metric expression of the calculation as done in data explorer ui metric_expression = <<-EOT (100)- (builtin:service.keyRequest.errors.server.rate:filter( and( or( in( "dt.entity.service_method", entitySelector( "type(service_method), fromRelationship.isServiceMethodOfService( type(~"SERVICE~"),entityName.in (~"remote-360-composite-service~") ) ,entityName.in( ~"GET /eadrax-r360/v1/events/$eventId~", ~"POST /eadrax-r360/v1/events/$eventId/cancel~", ~"POST /eadrax-r360/v1/event/execute~", ~"GET /eadrax-r360/v1/download/$eventId/$fileName~", ~"POST /eadrax-r360/v1/download/$eventId/$fileName/confirm~", ~"GET /eadrax-r360/v1/vehicle/$vin/egomodelurl~", ~"GET /eadrax-r360/v1/vehicle/$vin/key~", ~"GET /recordings/vehicle/$vin~" )") ) ))):splitBy():sum:auto:sort(value(sum,descending)))" 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 }