Skip to content

Commit

Permalink
Make error rate percentage
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-berg committed Dec 13, 2024
1 parent 9bbfb4f commit 2da2596
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entity-types/ext-service/golden_metrics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 2da2596

Please sign in to comment.