Documentation
¶
Index ¶
- func Counter(name string, opts ...metrics.MetricOption) (metrics.Counter, error)
- func Gauge(name string, opts ...metrics.MetricOption) (metrics.Gauge, error)
- func Histogram(name string, opts ...metrics.MetricOption) (metrics.Histogram, error)
- func Register(ctx context.Context, attrs ...Attribute) context.Context
- type Attribute
- func Bool(k string, b bool) Attribute
- func Float32(k string, f float32) Attribute
- func Float64(k string, f float64) Attribute
- func Int16(k string, i int16) Attribute
- func Int32(k string, i int32) Attribute
- func Int64(k string, i int64) Attribute
- func Int8(k string, i int8) Attribute
- func Str(k, s string) Attribute
- func Uint16(k string, u uint16) Attribute
- func Uint32(k string, u uint32) Attribute
- func Uint8(k string, u uint8) Attribute
- type Done
- type NoErrDone
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.