Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Instance ¶
type Instance struct { config.InstanceConfig URL string `toml:"url"` SinglePipeline bool `toml:"single_pipeline"` Collect []string `toml:"collect"` Username string `toml:"username"` Password string `toml:"password"` Headers map[string]string `toml:"headers"` Timeout config.Duration `toml:"timeout"` tls.ClientConfig // contains filtered or unexported fields }
func (*Instance) Gather ¶
func (ins *Instance) Gather(slist *types.SampleList)
type Logstash ¶
type Logstash struct { config.PluginConfig Instances []*Instance `toml:"instances"` }
func (*Logstash) GetInstances ¶
type Pipeline ¶
type Pipeline struct { Events interface{} `json:"events"` Plugins PipelinePlugins `json:"plugins"` Reloads interface{} `json:"reloads"` Queue PipelineQueue `json:"queue"` }
type PipelinePlugins ¶
type PipelineQueue ¶
type PipelineQueue struct { Events float64 `json:"events"` EventsCount *float64 `json:"events_count"` Type string `json:"type"` Capacity interface{} `json:"capacity"` Data interface{} `json:"data"` QueueSizeInBytes *float64 `json:"queue_size_in_bytes"` MaxQueueSizeInBytes *float64 `json:"max_queue_size_in_bytes"` }
type PipelineStats ¶
type PipelinesStats ¶
Click to show internal directories.
Click to hide internal directories.