Skip to content

Commit

Permalink
Unify metric titles between APM & OTEL (#1766)
Browse files Browse the repository at this point in the history
Co-authored-by: Otávio Carvalho <[email protected]>
  • Loading branch information
tkarai and otaviocarvalho authored Nov 19, 2024
1 parent ff596dd commit 400186f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion entity-types/apm-application/golden_metrics.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
responseTimeMs:
title: Response time (ms)
title: Response time
unit: MS
query:
select: average(apm.service.transaction.duration) * 1000 AS 'Response time (ms)'
Expand Down
6 changes: 3 additions & 3 deletions entity-types/ext-service/golden_metrics.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
throughput:
title: Throughput (rpm)
title: Throughput
unit: REQUESTS_PER_MINUTE
queries:
opentelemetry:
Expand All @@ -19,7 +19,7 @@ throughput:
select: rate(count(http.server.duration), 1 minute)
from: Metric
errorRate:
title: Error rate (%)
title: Error rate
unit: PERCENTAGE
queries:
opentelemetry:
Expand All @@ -39,7 +39,7 @@ errorRate:
select: (filter(count(http.server.duration), where numeric(http.status_code) >= 400 AND numeric(http.status_code) != 404) * 100) / count(http.server.duration)
from: Metric
responseTimeMs:
title: Response time (ms)
title: Response time
unit: MS
queries:
opentelemetry:
Expand Down

0 comments on commit 400186f

Please sign in to comment.