Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metric ¶
type Metric struct { Name string `json:"name"` Help string `json:"help"` Type common.MetricType `json:"type"` }
type Metrics ¶
type Metrics struct {
// contains filtered or unexported fields
}
func NewXDCRMetrics ¶
func NewXDCRMetrics(logger *zap.SugaredLogger, node couchbase.NodeCommon, metricSet MetricSet) (*Metrics, error)
func (*Metrics) Collect ¶
func (m *Metrics) Collect(metrics chan<- prometheus.Metric)
func (*Metrics) Describe ¶
func (m *Metrics) Describe(descs chan<- *prometheus.Desc)
Click to show internal directories.
Click to hide internal directories.