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 RunScpWithTimeout(dataStore *[]interface{}, cfg *load.Config, api load.API, apiNo int)
- 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
func RunHTTP ¶
func RunHTTP(dataStore *[]interface{}, doLoop *bool, yml *load.Config, api load.API, reqURL *string)
RunHTTP Executes HTTP Requests
func RunScpWithTimeout ¶ added in v0.9.3
RunScpWithTimeout performs scp with timeout
Types ¶
Click to show internal directories.
Click to hide internal directories.