Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Marklogic ¶
type Marklogic struct { URL string `toml:"url"` Hosts []string `toml:"hosts"` Username string `toml:"username"` Password string `toml:"password"` Sources []string tls.ClientConfig // contains filtered or unexported fields }
Marklogic configuration toml
func (*Marklogic) Gather ¶
func (c *Marklogic) Gather(accumulator telegraf.Accumulator) error
Gather metrics from HTTP Server.
func (*Marklogic) SampleConfig ¶
type MlHost ¶
type MlHost struct { HostStatus struct { ID string `json:"id"` Name string `json:"name"` StatusProperties struct { Online MlPointBool `json:"online"` LoadProperties struct { TotalLoad MlPointFloat `json:"total-load"` } `json:"load-properties"` RateProperties struct { TotalRate MlPointFloat `json:"total-rate"` } `json:"rate-properties"` StatusDetail struct { Cpus MlPointInt `json:"cpus"` Cores MlPointInt `json:"cores"` TotalCPUStatUser float64 `json:"total-cpu-stat-user"` TotalCPUStatSystem float64 `json:"total-cpu-stat-system"` TotalCPUStatIdle float64 `json:"total-cpu-stat-idle"` TotalCPUStatIowait float64 `json:"total-cpu-stat-iowait"` MemoryProcessSize MlPointInt `json:"memory-process-size"` MemoryProcessRss MlPointInt `json:"memory-process-rss"` MemorySystemTotal MlPointInt `json:"memory-system-total"` MemorySystemFree MlPointInt `json:"memory-system-free"` MemoryProcessSwapSize MlPointInt `json:"memory-process-swap-size"` MemorySize MlPointInt `json:"memory-size"` HostSize MlPointInt `json:"host-size"` LogDeviceSpace MlPointInt `json:"log-device-space"` DataDirSpace MlPointInt `json:"data-dir-space"` QueryReadBytes MlPointInt `json:"query-read-bytes"` QueryReadLoad MlPointInt `json:"query-read-load"` MergeReadLoad MlPointInt `json:"merge-read-load"` MergeWriteLoad MlPointInt `json:"merge-write-load"` HTTPServerReceiveBytes MlPointInt `json:"http-server-receive-bytes"` HTTPServerSendBytes MlPointInt `json:"http-server-send-bytes"` } `json:"status-detail"` } `json:"status-properties"` } `json:"host-status"` }
type MlPointBool ¶
type MlPointBool struct {
Value bool `json:"value"`
}
type MlPointFloat ¶
type MlPointFloat struct {
Value float64 `json:"value"`
}
type MlPointInt ¶
type MlPointInt struct {
Value int `json:"value"`
}
Click to show internal directories.
Click to hide internal directories.