We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f73b4a commit bfe5ae0Copy full SHA for bfe5ae0
go.go
@@ -205,7 +205,7 @@ func Go(fn Func, opts ...Option) <-chan error {
205
defer o.runningCounter.Add(ctx, -1, attrs)
206
}
207
if o.completedCounter != nil {
208
- defer o.runningCounter.Add(ctx, 1, attrs, metric.WithAttributes(
+ defer o.completedCounter.Add(ctx, 1, attrs, metric.WithAttributes(
209
attribute.Bool("error", err != nil),
210
))
211
0 commit comments