go.opentelemetry.io/otel/metric.Int64Counter.Add (method)
26 uses
go.opentelemetry.io/otel/metric (current package)
syncint64.go#L30: Add(ctx context.Context, incr int64, options ...AddOption)
github.com/gotd/td/telegram
account_status.go#L230: c.meters().restricted.Add(ctx, 1, metric.WithAttributes(
auth_lost.go#L246: c.meters().authLost.Add(bg, 1, metric.WithAttributes(
connect.go#L181: c.meters().reconnects.Add(context.Background(), 1, dcAttrs(dc))
connection_state.go#L96: c.meters().connState.Add(ctx, 1, dcAttrs(dc, attribute.String("state", s.String())))
connection_state.go#L112: c.meters().connDead.Add(ctx, 1, dcAttrs(e.DC, attribute.String("kind", e.Kind.String())))
file_dc.go#L81: f.client.meters().fileMigrations.Add(ctx, 1, dcAttrs(rpcErr.Argument,
invoke.go#L92: c.meters().fileMigrations.Add(ctx, 1, dcAttrs(targetDC,
invoke.go#L146: c.meters().requestTimeout.Add(ctx, 1, metric.WithAttributes(
invoke.go#L157: c.meters().requestTimeout.Add(ctx, 1, metric.WithAttributes(
migrate_to_dc.go#L26: c.meters().restarts.Add(ctx, 1, metric.WithAttributes(attribute.String("reason", reason)))
migrate_to_dc.go#L73: c.meters().migrations.Add(ctx, 1, dcAttrs(dcID))
sub_conns.go#L110: c.meters().poolEvicted.Add(ctx, 1, dcAttrs(dc,
sub_conns.go#L208: m.poolCreated.Add(ctx, 1, dcAttrs(dc,
github.com/gotd/td/telegram/downloader
metrics.go#L206: o.requests.Add(ctx, 1, o.requestAttrs[k][requestResult(ctx, err)])
metrics.go#L209: o.bytes.Add(ctx, int64(n), o.kindAttrs[k])
metrics.go#L225: o.downloads.Add(ctx, 1, attrOpt(attribute.String("result", result)))
metrics.go#L235: o.resumes.Add(ctx, 1)
metrics.go#L243: o.cdnRedirects.Add(ctx, 1)
metrics.go#L251: o.cdnReuploads.Add(ctx, 1)
metrics.go#L259: o.hashMismatches.Add(ctx, 1, attrOpt(attribute.String("kind", kind)))
metrics.go#L267: o.refreshes.Add(ctx, 1, attrOpt(attribute.String("result", result)))
metrics.go#L283: o.backoffs.Add(ctx, 1, attrOpt(attribute.String("reason", reason)))
metrics.go#L300: o.verify.Add(ctx, 1, attrOpt(attribute.String("result", result)))
metrics.go#L313: o.retries.Add(ctx, 1, attrOpt(attribute.String("operation", e.Operation)))
metrics.go#L325: o.retriesExhausted.Add(ctx, 1, attrOpt(attribute.String("operation", op)))
 |
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |