Documentation
¶
Index ¶
- type Collector
- func (m *Collector) AddComponentsMetricsEntry(measurement string, tags map[string]string, value interface{})
- func (m *Collector) AddNodesMetricsEntry(measurement string, node string, tags map[string]string, value interface{})
- func (m *Collector) AddSimpleMetricsEntry(measurement string, value interface{})
- type Metrics
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
Collector struct: contains field for ClusterName and MetricsPoints
func (*Collector) AddComponentsMetricsEntry ¶
func (m *Collector) AddComponentsMetricsEntry(measurement string, tags map[string]string, value interface{})
AddComponentsMetricsEntry will create a basic metrics entry with all the needed fields. Please do not provide node/clustername within the tags; this function will manage this for you
func (*Collector) AddNodesMetricsEntry ¶
func (m *Collector) AddNodesMetricsEntry(measurement string, node string, tags map[string]string, value interface{})
AddNodesMetricsEntry will create a basic metrics entry with all the needed fields. Please do not provide node/clustername within the tags; this function will manage this for you
func (*Collector) AddSimpleMetricsEntry ¶
AddSimpleMetricsEntry will create a basic metrics entry with all the needed fields. Please do not provide node/clustername within the tags; this function will manage this for you
Click to show internal directories.
Click to hide internal directories.