collector

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AggregateCollector

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

func NewAggregateCollector

func NewAggregateCollector(client *netapp.Client, filerName, aggrPattern string) *AggregateCollector

func (*AggregateCollector) Collect

func (c *AggregateCollector) Collect(ch chan<- prometheus.Metric)

func (*AggregateCollector) Describe

func (c *AggregateCollector) Describe(ch chan<- *prometheus.Desc)

func (*AggregateCollector) Fetch

func (c *AggregateCollector) Fetch() []*netapp.Aggregate

type AggregateMetric

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

type SystemCollector

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

func NewSystemCollector

func NewSystemCollector(client *netapp.Client, filerName string) *SystemCollector

func (*SystemCollector) Collect

func (c *SystemCollector) Collect(ch chan<- prometheus.Metric)

func (*SystemCollector) Describe

func (c *SystemCollector) Describe(ch chan<- *prometheus.Desc)

type VolumeCollector

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

func NewVolumeCollector

func NewVolumeCollector(client *netapp.Client, filerName string, fetchPeriod time.Duration) *VolumeCollector

func (*VolumeCollector) Collect

func (c *VolumeCollector) Collect(ch chan<- prometheus.Metric)

func (*VolumeCollector) Describe

func (c *VolumeCollector) Describe(ch chan<- *prometheus.Desc)

func (*VolumeCollector) Fetch

func (c *VolumeCollector) Fetch() []*netapp.Volume

func (*VolumeCollector) PeriodicFetch

func (c *VolumeCollector) PeriodicFetch(cancelCh <-chan int)

type VolumeMetric

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

Jump to

Keyboard shortcuts

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