Documentation ¶
Index ¶
Constants ¶
View Source
const ( MetaServer string = "meta" ReplicaServer string = "replica" )
Variables ¶
View Source
var CounterMetricsMap map[string]prometheus.CounterVec
View Source
var GaugeMetricsMap map[string]prometheus.GaugeVec
View Source
var SummaryMetricsMap map[string]prometheus.Summary
View Source
var TableNameByID map[string]string
Functions ¶
This section is empty.
Types ¶
type MetricCollector ¶
type MetricCollector interface {
Run(tom *tomb.Tomb) error
}
func NewMetaServerMetricCollector ¶
func NewMetaServerMetricCollector() MetricCollector
func NewMetricCollector ¶
func NewReplicaServerMetricCollector ¶
func NewReplicaServerMetricCollector() MetricCollector
Click to show internal directories.
Click to hide internal directories.