slo-simply-smarter/project_monaco/smarter/slo/Smarter-ServicePerformance....

23 lines
1.3 KiB
JSON

{
"burnRateMetricKey": "func:slo.errorBudgetBurnRate.smarter___service_performance",
"enabled": true,
"errorBudgetBurnRate": {
"burnRateVisualizationEnabled": true,
"fastBurnThreshold": 10
},
"errorBudgetMetricKey": "func:slo.errorBudget.smarter___service_performance",
"evaluationType": "AGGREGATE",
"filter": "",
"metricDenominator": "",
"metricExpression": "((builtin:service.response.time:avg:toUnit(MicroSecond,MilliSecond):filter(and(or(in(\"dt.entity.service\",entitySelector(\"type(service),serviceType(~\"WEB_SERVICE~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),serviceType(~\"WEB_REQUEST_SERVICE~\")\"))))):partition(\"perf\",value(\"good\",lt(500))):splitBy():count:default(0))/(builtin:service.response.time:avg:filter(and(or(in(\"dt.entity.service\",entitySelector(\"type(service),serviceType(~\"WEB_SERVICE~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),serviceType(~\"WEB_REQUEST_SERVICE~\")\"))))):splitBy():count)*(100))",
"metricKey": "func:slo.smarter___service_performance",
"metricNumerator": "",
"metricRate": "",
"name": "{{.name}}",
"normalizedErrorBudgetMetricKey": "func:slo.normalizedErrorBudget.smarter___service_performance",
"target": 95,
"timeframe": "-1w",
"useRateMetric": true,
"warning": 98
}