Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Apache2Plugin ¶
type Apache2Plugin struct { Host string Port uint16 Path string Header []string Tempfile string Prefix string LabelPrefix string }
Apache2Plugin for fetching metrics
func (Apache2Plugin) FetchMetrics ¶
func (c Apache2Plugin) FetchMetrics() (map[string]interface{}, error)
FetchMetrics fetch the metrics
func (Apache2Plugin) GraphDefinition ¶
func (c Apache2Plugin) GraphDefinition() map[string]mp.Graphs
GraphDefinition Graph definition
func (Apache2Plugin) MetricKeyPrefix ¶
func (c Apache2Plugin) MetricKeyPrefix() string
MetricKeyPrefix interface for PluginWithPrefix
Click to show internal directories.
Click to hide internal directories.