func go.opentelemetry.io/otel/metric.WithUnit
10 uses
go.opentelemetry.io/otel/metric (current package)
instrument.go#L199: func WithUnit(u string) InstrumentOption { return unitOpt(u) }
github.com/gotd/td/telegram
metrics.go#L84: c, cErr := meter.Int64Counter(name, metric.WithUnit(unit), metric.WithDescription(desc))
metrics.go#L90: metric.WithUnit("s"), metric.WithDescription(desc), durationBuckets,
metrics.go#L127: metric.WithUnit("{pool}"),
github.com/gotd/td/telegram/downloader
metrics.go#L112: c, err := m.Int64Counter(name, metric.WithUnit(unit), metric.WithDescription(desc))
metrics.go#L138: metric.WithUnit("s"),
metrics.go#L365: metric.WithUnit("{request}"),
metrics.go#L372: metric.WithUnit("{request}"),
metrics.go#L379: metric.WithUnit("{worker}"),
metrics.go#L386: metric.WithUnit("{decrease}"),
 |
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. |