collectors

package
v0.0.0-...-53481e1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2016 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CollectorInterface

type CollectorInterface interface {
	Enabled() bool
	Report() (structs.MetricSlice, error)
	Setup(ini.File)
	State(bool)
}

type CpuCollector

type CpuCollector struct {
	// contains filtered or unexported fields
}

func (*CpuCollector) Enabled

func (c *CpuCollector) Enabled() bool

func (*CpuCollector) Report

func (c *CpuCollector) Report() (structs.MetricSlice, error)

func (*CpuCollector) Setup

func (c *CpuCollector) Setup(conf ini.File)

func (*CpuCollector) State

func (c *CpuCollector) State(state bool)

type DiskspaceCollector

type DiskspaceCollector struct {
	// contains filtered or unexported fields
}

func (*DiskspaceCollector) Enabled

func (c *DiskspaceCollector) Enabled() bool

func (*DiskspaceCollector) Report

func (*DiskspaceCollector) Setup

func (c *DiskspaceCollector) Setup(conf ini.File)

func (*DiskspaceCollector) State

func (c *DiskspaceCollector) State(state bool)

type ElasticsearchCollector

type ElasticsearchCollector struct {
	// contains filtered or unexported fields
}

ElasticsearchCollector is an exported type that allows collecting metrics for Elasticsearch

func (*ElasticsearchCollector) Enabled

func (c *ElasticsearchCollector) Enabled() bool

Enabled allows checking whether the collector is enabled or not

func (*ElasticsearchCollector) Report

Report collects a list of MetricSlices for upstream reporting

func (*ElasticsearchCollector) Setup

func (c *ElasticsearchCollector) Setup(conf ini.File)

Setup configures the collector

func (*ElasticsearchCollector) State

func (c *ElasticsearchCollector) State(state bool)

State allows setting the enabled state of the collector

type IostatCollector

type IostatCollector struct {
	// contains filtered or unexported fields
}

func (*IostatCollector) Enabled

func (c *IostatCollector) Enabled() bool

func (*IostatCollector) Report

func (c *IostatCollector) Report() (structs.MetricSlice, error)

func (*IostatCollector) Setup

func (c *IostatCollector) Setup(conf ini.File)

func (*IostatCollector) State

func (c *IostatCollector) State(state bool)

type LoadAvgCollector

type LoadAvgCollector struct {
	// contains filtered or unexported fields
}

func (*LoadAvgCollector) Enabled

func (c *LoadAvgCollector) Enabled() bool

func (*LoadAvgCollector) Report

func (c *LoadAvgCollector) Report() (structs.MetricSlice, error)

func (*LoadAvgCollector) Setup

func (c *LoadAvgCollector) Setup(conf ini.File)

func (*LoadAvgCollector) State

func (c *LoadAvgCollector) State(state bool)

type MemoryCollector

type MemoryCollector struct {
	// contains filtered or unexported fields
}

func (*MemoryCollector) Enabled

func (c *MemoryCollector) Enabled() bool

func (*MemoryCollector) Report

func (c *MemoryCollector) Report() (structs.MetricSlice, error)

func (*MemoryCollector) Setup

func (c *MemoryCollector) Setup(conf ini.File)

func (*MemoryCollector) State

func (c *MemoryCollector) State(state bool)

type RedisCollector

type RedisCollector struct {
	// contains filtered or unexported fields
}

func (*RedisCollector) Enabled

func (c *RedisCollector) Enabled() bool

func (*RedisCollector) Report

func (c *RedisCollector) Report() (structs.MetricSlice, error)

func (*RedisCollector) Setup

func (c *RedisCollector) Setup(conf ini.File)

func (*RedisCollector) State

func (c *RedisCollector) State(state bool)

type SocketsCollector

type SocketsCollector struct {
	// contains filtered or unexported fields
}

func (*SocketsCollector) Enabled

func (c *SocketsCollector) Enabled() bool

func (*SocketsCollector) Report

func (c *SocketsCollector) Report() (structs.MetricSlice, error)

func (*SocketsCollector) Setup

func (c *SocketsCollector) Setup(conf ini.File)

func (*SocketsCollector) State

func (c *SocketsCollector) State(state bool)

type VmstatCollector

type VmstatCollector struct {
	// contains filtered or unexported fields
}

func (*VmstatCollector) Enabled

func (c *VmstatCollector) Enabled() bool

func (*VmstatCollector) Report

func (c *VmstatCollector) Report() (structs.MetricSlice, error)

func (*VmstatCollector) Setup

func (c *VmstatCollector) Setup(conf ini.File)

func (*VmstatCollector) State

func (c *VmstatCollector) State(state bool)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL