type go.opentelemetry.io/otel/metric.RecordOption
18 uses
go.opentelemetry.io/otel/metric (current package)
instrument.go#L248: type RecordOption interface {
instrument.go#L258: func NewRecordConfig(opts []RecordOption) RecordConfig {
instrument.go#L305: RecordOption
syncfloat64.go#L168: Record(ctx context.Context, incr float64, options ...RecordOption)
syncfloat64.go#L241: Record(ctx context.Context, value float64, options ...RecordOption)
syncint64.go#L168: Record(ctx context.Context, incr int64, options ...RecordOption)
syncint64.go#L241: Record(ctx context.Context, value int64, options ...RecordOption)
go.opentelemetry.io/otel/metric/noop
noop.go#L232: func (Int64Histogram) Record(context.Context, int64, ...metric.RecordOption) {}
noop.go#L242: func (Float64Histogram) Record(context.Context, float64, ...metric.RecordOption) {}
noop.go#L252: func (Int64Gauge) Record(context.Context, int64, ...metric.RecordOption) {}
noop.go#L262: func (Float64Gauge) Record(context.Context, float64, ...metric.RecordOption) {}
github.com/gotd/td/telegram
metrics.go#L61: invokeOK []metric.RecordOption
metrics.go#L62: invokeCanceled []metric.RecordOption
metrics.go#L63: invokeError []metric.RecordOption
metrics.go#L167: func resultOptions(kv ...attribute.KeyValue) []metric.RecordOption {
metrics.go#L168: return []metric.RecordOption{metric.WithAttributeSet(attribute.NewSet(kv...))}
metrics.go#L172: func (m *clientMetrics) invokeResult(ctx context.Context, err error) []metric.RecordOption {
metrics.go#L178: return v.([]metric.RecordOption)
 |
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. |