Documentation
¶
Index ¶
- func ConfigHandler(data []byte)
- func GetCancelFunc() *context.CancelFunc
- func GetLastPluginOutput(tag map[string]string) string
- func GetMetricsProfile() *transit.MonitorConnection
- func GetMonitorConnection() *transit.MetricsProfile
- func Validate(data template.Data) error
- type ExtConfig
- type ParseResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigHandler ¶
func ConfigHandler(data []byte)
func GetCancelFunc ¶
func GetCancelFunc() *context.CancelFunc
func GetLastPluginOutput ¶
func GetMetricsProfile ¶
func GetMetricsProfile() *transit.MonitorConnection
func GetMonitorConnection ¶
func GetMonitorConnection() *transit.MetricsProfile
Types ¶
type ExtConfig ¶
type ExtConfig struct { MapHostgroup mapping.Mappings `json:"mapHostgroup"` MapHostname mapping.Mappings `json:"mapHostname"` MapService mapping.Mappings `json:"mapService"` }
func GetExtConfig ¶
func GetExtConfig() *ExtConfig
type ParseResult ¶
type ParseResult struct { HostName string HostGroupName string MetricBuilder connectors.MetricBuilder }
func ParsePrometheusData ¶
func ParsePrometheusData(data template.Data, cfg *ExtConfig) ([]ParseResult, error)
Click to show internal directories.
Click to hide internal directories.