Documentation ¶
Index ¶
Constants ¶
View Source
const (
PluginType = "metrics"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metrics ¶
type Metrics interface { plugin.Plugin // IncCount inc count by name and label IncCount(name string, label string) // AddCount add count by name and label AddCount(name string, label string, val float64) // RecordLatency record latency by name and label RecordLatency(name string, label string, latency float64) }
Metrics plugin interface
Click to show internal directories.
Click to hide internal directories.