func go.opentelemetry.io/otel/metric.WithAttributes
8 uses
go.opentelemetry.io/otel/metric (current package)
instrument.go#L399: func WithAttributes(attributes ...attribute.KeyValue) MeasurementOption {
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(
invoke.go#L146: c.meters().requestTimeout.Add(ctx, 1, metric.WithAttributes(
invoke.go#L157: c.meters().requestTimeout.Add(ctx, 1, metric.WithAttributes(
metrics.go#L195: return metric.WithAttributes(append(kv, attribute.Int("dc", dc))...)
migrate_to_dc.go#L26: c.meters().restarts.Add(ctx, 1, metric.WithAttributes(attribute.String("reason", reason)))
sub_conns.go#L212: m.poolDuration.Record(ctx, elapsed.Seconds(), metric.WithAttributes(
 |
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. |