collector

package
v0.0.0-...-0481f70 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2020 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GZCPUUsageCollector

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

GZCPUUsageCollector declare the data type within the prometheus metrics package.

func NewGZCPUUsageExporter

func NewGZCPUUsageExporter() (*GZCPUUsageCollector, error)

NewGZCPUUsageExporter returns a newly allocated exporter GZCPUUsageCollector. It exposes the CPU usage in percent.

func (*GZCPUUsageCollector) Collect

func (e *GZCPUUsageCollector) Collect(ch chan<- prometheus.Metric)

Collect fetches the stats.

func (*GZCPUUsageCollector) Describe

func (e *GZCPUUsageCollector) Describe(ch chan<- *prometheus.Desc)

Describe describes all the metrics.

type GZDiskErrorsCollector

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

GZDiskErrorsCollector declares the data type within the prometheus metrics package.

func NewGZDiskErrorsExporter

func NewGZDiskErrorsExporter() (*GZDiskErrorsCollector, error)

NewGZDiskErrorsExporter returns a newly allocated exporter GZDiskErrorsCollector. It exposes the number of hardware disk errors

func (*GZDiskErrorsCollector) Collect

func (e *GZDiskErrorsCollector) Collect(ch chan<- prometheus.Metric)

Collect fetches the stats.

func (*GZDiskErrorsCollector) Describe

func (e *GZDiskErrorsCollector) Describe(ch chan<- *prometheus.Desc)

Describe describes all the metrics.

type GZFreeMemCollector

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

GZFreeMemCollector declares the data type within the prometheus metrics package.

func NewGZFreeMemExporter

func NewGZFreeMemExporter() (*GZFreeMemCollector, error)

NewGZFreeMemExporter returns a newly allocated exporter GZFreeMemCollector. It exposes the total free memory of the CN.

func (*GZFreeMemCollector) Collect

func (e *GZFreeMemCollector) Collect(ch chan<- prometheus.Metric)

Collect fetches the stats.

func (*GZFreeMemCollector) Describe

func (e *GZFreeMemCollector) Describe(ch chan<- *prometheus.Desc)

Describe describes all the metrics.

type GZMLAGUsageCollector

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

GZMLAGUsageCollector declares the data type within the prometheus metrics package.

func NewGZMLAGUsageExporter

func NewGZMLAGUsageExporter() (*GZMLAGUsageCollector, error)

NewGZMLAGUsageExporter returns a newly allocated exporter GZMLAGUsageCollector. It exposes the network bandwidth used by the MLAG interface

func (*GZMLAGUsageCollector) Collect

func (e *GZMLAGUsageCollector) Collect(ch chan<- prometheus.Metric)

Collect fetches the stats.

func (*GZMLAGUsageCollector) Describe

func (e *GZMLAGUsageCollector) Describe(ch chan<- *prometheus.Desc)

Describe describes all the metrics.

type GZZpoolListCollector

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

GZZpoolListCollector declares the data type within the prometheus metrics package.

func NewGZZpoolListExporter

func NewGZZpoolListExporter() (*GZZpoolListCollector, error)

NewGZZpoolListExporter returns a newly allocated exporter GZZpoolListCollector. It exposes the zpool list command result.

func (*GZZpoolListCollector) Collect

func (e *GZZpoolListCollector) Collect(ch chan<- prometheus.Metric)

Collect fetches the stats.

func (*GZZpoolListCollector) Describe

func (e *GZZpoolListCollector) Describe(ch chan<- *prometheus.Desc)

Describe describes all the metrics.

type LoadAverageCollector

type LoadAverageCollector struct {
	LoadAverage1  prometheus.Gauge
	LoadAverage5  prometheus.Gauge
	LoadAverage15 prometheus.Gauge
}

LoadAverageCollector declares the data type within the prometheus metrics package.

func NewLoadAverageExporter

func NewLoadAverageExporter() (*LoadAverageCollector, error)

NewLoadAverageExporter returns a newly allocated exporter LoadAverageCollector. It exposes the CPU load average.

func (*LoadAverageCollector) Collect

func (e *LoadAverageCollector) Collect(ch chan<- prometheus.Metric)

Collect fetches the stats.

func (*LoadAverageCollector) Describe

func (e *LoadAverageCollector) Describe(ch chan<- *prometheus.Desc)

Describe describes all the metrics.

type UpTimeCollector

type UpTimeCollector struct {
	UpTime prometheus.Gauge
}

UpTimeCollector declares the data type within the prometheus metrics package.

func NewUpTimeExporter

func NewUpTimeExporter() (*UpTimeCollector, error)

NewUpTimeExporter returns a newly allocated exporter UpTimeCollector. It exposes the UpTime Server in Second.

func (*UpTimeCollector) Collect

func (e *UpTimeCollector) Collect(ch chan<- prometheus.Metric)

Collect fetches the stats.

func (*UpTimeCollector) Describe

func (e *UpTimeCollector) Describe(ch chan<- *prometheus.Desc)

Describe describes all the metrics.

type ZoneDfCollector

type ZoneDfCollector struct {
	ZoneDfSize      *prometheus.GaugeVec
	ZoneDfUsed      *prometheus.GaugeVec
	ZoneDfAvailable *prometheus.GaugeVec
	ZoneDfUse       *prometheus.GaugeVec
}

ZoneDfCollector declares the data type within the prometheus metrics package.

func NewZoneDfExporter

func NewZoneDfExporter() (*ZoneDfCollector, error)

NewZoneDfExporter returns a newly allocated exporter ZoneDfCollector. It exposes the df command result.

func (*ZoneDfCollector) Collect

func (e *ZoneDfCollector) Collect(ch chan<- prometheus.Metric)

Collect fetches the stats.

func (*ZoneDfCollector) Describe

func (e *ZoneDfCollector) Describe(ch chan<- *prometheus.Desc)

Describe describes all the metrics.

type ZoneKstatCollector

type ZoneKstatCollector struct {
	ZoneKstatCPUBaseline   *prometheus.GaugeVec
	ZoneKstatCPUCap        *prometheus.GaugeVec
	ZoneKstatCPUMaxUsage   *prometheus.GaugeVec
	ZoneKstatCPUUsage      *prometheus.GaugeVec
	ZoneKstatMemCap        *prometheus.GaugeVec
	ZoneKstatMemFree       *prometheus.GaugeVec
	ZoneKstatMemNover      *prometheus.GaugeVec
	ZoneKstatMemPagedOut   *prometheus.GaugeVec
	ZoneKstatMemRSS        *prometheus.GaugeVec
	ZoneKstatNICCollisions *prometheus.GaugeVec
	ZoneKstatNICIErrors    *prometheus.GaugeVec
	ZoneKstatNICIPackets   *prometheus.GaugeVec
	ZoneKstatNICLinkState  *prometheus.GaugeVec
	ZoneKstatNICOBytes     *prometheus.GaugeVec
	ZoneKstatNICOErrors    *prometheus.GaugeVec
	ZoneKstatNICOPackets   *prometheus.GaugeVec
	ZoneKstatNICRBytes     *prometheus.GaugeVec
	ZoneKstatSwapCap       *prometheus.GaugeVec
	ZoneKstatSwapFree      *prometheus.GaugeVec
	ZoneKstatSwapUsed      *prometheus.GaugeVec
}

ZoneKstatCollector declares the data type within the prometheus metrics package.

func NewZoneKstatExporter

func NewZoneKstatExporter() (*ZoneKstatCollector, error)

NewZoneKstatExporter returns a newly allocated exporter ZoneKstatCollector. It exposes the kstat command result.

func (*ZoneKstatCollector) Collect

func (e *ZoneKstatCollector) Collect(ch chan<- prometheus.Metric)

Collect fetches the stats.

func (*ZoneKstatCollector) Describe

func (e *ZoneKstatCollector) Describe(ch chan<- *prometheus.Desc)

Describe describes all the metrics.

type ZoneKstatNIC

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

ZoneKstatNIC defines the mapping of kstat link structure.

type ZoneKstatNICs

type ZoneKstatNICs []ZoneKstatNIC

ZoneKstatNICs slice for key iteration

Jump to

Keyboard shortcuts

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