Documentation ¶
Index ¶
- Variables
- type Metric
- type Metrics
- func (*Metrics) XCounter(ctx *context.Context, name string, isTime ...bool) (interface{}, error)
- func (*Metrics) XGauge(ctx *context.Context, name string, isTime ...bool) (interface{}, error)
- func (*Metrics) XRate(ctx *context.Context, name string, isTime ...bool) (interface{}, error)
- func (*Metrics) XTrend(ctx *context.Context, name string, isTime ...bool) (interface{}, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMetricsAddInInitContext = common.NewInitContextError("Adding to metrics in the init context is not supported")
ErrMetricsAddInInitContext is error returned when adding to metric is done in the init context
Functions ¶
This section is empty.
Types ¶
type Metric ¶
type Metric struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.