From 2da2596d5c5e7f9319435c1a629e603733afbe73 Mon Sep 17 00:00:00 2001 From: Jack Berg Date: Fri, 13 Dec 2024 13:50:37 -0600 Subject: [PATCH] Make error rate percentage --- entity-types/ext-service/golden_metrics.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entity-types/ext-service/golden_metrics.yml b/entity-types/ext-service/golden_metrics.yml index 7cf801936..a6032e84d 100644 --- a/entity-types/ext-service/golden_metrics.yml +++ b/entity-types/ext-service/golden_metrics.yml @@ -23,7 +23,7 @@ errorRate: unit: PERCENTAGE queries: opentelemetry: - select: filter(count(%.server%duration), WHERE numeric(http.status_code) >= 500 OR numeric(http.response.status_code) >= 500)/count(%.server%duration) + select: (filter(count(%.server%duration), WHERE numeric(http.status_code) >= 500 OR numeric(http.response.status_code) >= 500)/count(%.server%duration))*100 from: Metric where: http.server.duration IS NOT NULL OR http.server.request.duration IS NOT NULL newrelic-opentelemetry: