Skip to content

Commit 3164a35

Browse files
Merge branch 'main' of github.com:ghareeb-falazi/opentelemetry-java-instrumentation
2 parents 77068a2 + d0a352a commit 3164a35

File tree

1 file changed

+1
-0
lines changed
  • instrumentation/failsafe-3.0/library/src/main/java/io/opentelemetry/instrumentation/failsafe/v3_0

1 file changed

+1
-0
lines changed

instrumentation/failsafe-3.0/library/src/main/java/io/opentelemetry/instrumentation/failsafe/v3_0/FailsafeTelemetry.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ public <R> RetryPolicy<R> createRetryPolicy(RetryPolicy<R> delegate, String retr
100100
meter
101101
.histogramBuilder("failsafe.retry_policy.attempts")
102102
.setDescription("Number of attempts for each execution.")
103+
.setUnit("{attempt}")
103104
.ofLongs()
104105
.setExplicitBucketBoundariesAdvice(Arrays.asList(1L, 2L, 3L, 5L))
105106
.build();

0 commit comments

Comments
 (0)