Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnsupportedMetricType = errors.New(`unsupported metric type`)
ErrUnsupportedMetricType value
Functions ¶
This section is empty.
Types ¶
type Metric ¶
type Metric struct { Namespace string `json:"namespace,omitempty"` Subsystem string `json:"subsystem,omitempty"` Name string `json:"name"` Type MetricType `json:"type"` Tags []map[string]string `json:"tags,omitempty"` }
Metric config type
type MetricType ¶
type MetricType string
MetricType of the metric
const (
MetricCounter MetricType = "counter"
)
Metric types list
Click to show internal directories.
Click to hide internal directories.