Skip to content

Commit 56fac9b

Browse files
fix: Gauge -> Counter
1 parent fc81da6 commit 56fac9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

slo/src/Internal/SloContext.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,11 +149,11 @@ Task ShootingTask(RateLimiter rateLimitPolicy, string operationType,
149149
}
150150
);
151151

152-
var okGauge = metricFactory.CreateGauge( // Counter
152+
var okGauge = metricFactory.CreateCounter( // Counter
153153
"sdk_operations_success_total",
154154
"Total number of successful operations, categorized by type."
155155
);
156-
var notOkGauge = metricFactory.CreateGauge(
156+
var notOkGauge = metricFactory.CreateCounter(
157157
"sdk_operations_failure_total",
158158
"Total number of failed operations, categorized by type."
159159
);

0 commit comments

Comments
 (0)