Documentation ¶
Index ¶
- func NetDialWithTimeout(dataStore *[]interface{}, command load.Command, ...)
- func ParseJMX(dataStore *[]interface{}, dataInterface interface{}, command load.Command, ...)
- func ParseReader(in io.Reader, ch chan<- *dto.MetricFamily) error
- func ProcessQueries(dataStore *[]interface{}, yml *load.Config, apiNo int)
- func Prometheus(dataStore *[]interface{}, input io.Reader, cfg *load.Config, api *load.API)
- func RunCommands(dataStore *[]interface{}, yml *load.Config, apiNo int)
- func RunFile(dataStore *[]interface{}, cfg *load.Config, apiNo int)
- func RunHTTP(dataStore *[]interface{}, doLoop *bool, yml *load.Config, api load.API, ...)
- func SetJMXCommand(dataStore *[]interface{}, runCommand *string, command load.Command, ...)
- type Family
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NetDialWithTimeout ¶
func NetDialWithTimeout(dataStore *[]interface{}, command load.Command, dataSample *map[string]interface{}, api load.API, processType *string)
NetDialWithTimeout performs network dial without timeout
func ParseJMX ¶
func ParseJMX(dataStore *[]interface{}, dataInterface interface{}, command load.Command, dataSample *map[string]interface{})
ParseJMX Processes JMX Data
func ParseReader ¶
func ParseReader(in io.Reader, ch chan<- *dto.MetricFamily) error
ParseReader consumes an io.Reader and pushes it to the MetricFamily channel. It returns when all MetricFamilies are parsed and put on the channel.
func ProcessQueries ¶
ProcessQueries processes database queries
func Prometheus ¶
Prometheus from http io
func RunCommands ¶
RunCommands executes the given commands to create one merged sampled
Types ¶
Click to show internal directories.
Click to hide internal directories.