collector

package
v1.0.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DsmadmcEventsCompletedExec    = dsmadmcEventsCompleted
	DsmadmcEventsNotCompletedExec = dsmadmcEventsNotCompleted
)
View Source
var (
	DsmadmcReplicationViewsCompletedExec    = dsmadmcReplicationViewsCompleted
	DsmadmcReplicationViewsNotCompletedExec = dsmadmcReplicationViewsNotCompleted
)
View Source
var (
	DsmadmcDBExec = dsmadmcDB
)
View Source
var (
	DsmadmcDrivesExec = dsmadmcDrives
)
View Source
var (
	DsmadmcLibVolumesExec = dsmadmcLibVolumes
)
View Source
var (
	DsmadmcLogExec = dsmadmcLog
)
View Source
var (
	DsmadmcOccupancysExec = dsmadmcOccupancys
)
View Source
var (
	DsmadmcStatusExec = dsmadmcStatus
)
View Source
var (
	DsmadmcStoragePoolExec = dsmadmcStoragePool
)
View Source
var (
	DsmadmcVolumeUsagesExec = dsmadmcVolumeUsages
)
View Source
var (
	DsmadmcVolumesExec = dsmadmcVolumes
)

Functions

This section is empty.

Types

type Collector

type Collector interface {
	// Get new metrics and expose them via prometheus registry.
	Describe(ch chan<- *prometheus.Desc)
	Collect(ch chan<- prometheus.Metric)
}

func NewDBExporter

func NewDBExporter(target *config.Target, logger log.Logger) Collector

func NewDrivesExporter

func NewDrivesExporter(target *config.Target, logger log.Logger) Collector

func NewEventsExporter

func NewEventsExporter(target *config.Target, logger log.Logger) Collector

func NewLibVolumesExporter

func NewLibVolumesExporter(target *config.Target, logger log.Logger) Collector

func NewLogExporter

func NewLogExporter(target *config.Target, logger log.Logger) Collector

func NewOccupancysExporter added in v0.6.0

func NewOccupancysExporter(target *config.Target, logger log.Logger) Collector

func NewReplicationViewsExporter

func NewReplicationViewsExporter(target *config.Target, logger log.Logger) Collector

func NewStatusExporter

func NewStatusExporter(target *config.Target, logger log.Logger) Collector

func NewStoragePoolExporter added in v0.6.0

func NewStoragePoolExporter(target *config.Target, logger log.Logger) Collector

func NewVolumeUsagesExporter added in v0.6.0

func NewVolumeUsagesExporter(target *config.Target, logger log.Logger) Collector

func NewVolumesExporter

func NewVolumesExporter(target *config.Target, logger log.Logger) Collector

type DBCollector

type DBCollector struct {
	TotalSpace   *prometheus.Desc
	UsedSpace    *prometheus.Desc
	FreeSpace    *prometheus.Desc
	TotalPages   *prometheus.Desc
	UsablePages  *prometheus.Desc
	UsedPages    *prometheus.Desc
	FreePages    *prometheus.Desc
	BuffHitRatio *prometheus.Desc
	TotalBuffReq *prometheus.Desc
	SortOverflow *prometheus.Desc
	PkgHitRatio  *prometheus.Desc
	LastBackup   *prometheus.Desc
	// contains filtered or unexported fields
}

func (*DBCollector) Collect

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

func (*DBCollector) Describe

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

type DBMetric

type DBMetric struct {
	Name         string
	TotalSpace   float64
	UsedSpace    float64
	FreeSpace    float64
	TotalPages   float64
	UsablePages  float64
	UsedPages    float64
	FreePages    float64
	BuffHitRatio float64
	TotalBuffReq float64
	SortOverflow float64
	PkgHitRatio  float64
	LastBackup   float64
}

type DriveMetric

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

type DrivesCollector

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

func (*DrivesCollector) Collect

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

func (*DrivesCollector) Describe

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

type EventMetric

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

type EventsCollector

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

func (*EventsCollector) Collect

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

func (*EventsCollector) Describe

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

type LibVolumeMetric

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

type LibVolumesCollector

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

func (*LibVolumesCollector) Collect

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

func (*LibVolumesCollector) Describe

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

type LogCollector

type LogCollector struct {
	Total *prometheus.Desc
	Used  *prometheus.Desc
	Free  *prometheus.Desc
	// contains filtered or unexported fields
}

func (*LogCollector) Collect

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

func (*LogCollector) Describe

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

type LogMetric

type LogMetric struct {
	Total float64
	Used  float64
	Free  float64
}

type OccupancyMetric added in v0.6.0

type OccupancyMetric struct {
	NodeName        string
	FilespaceName   string
	StoragePoolName string
	Files           float64
	Physical        float64
	Logical         float64
}

type OccupancysCollector added in v0.6.0

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

func (*OccupancysCollector) Collect added in v0.6.0

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

func (*OccupancysCollector) Describe added in v0.6.0

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

type ReplicationViewMetric

type ReplicationViewMetric struct {
	NodeName        string
	FsName          string
	StartTime       float64
	EndTime         float64
	NotCompleted    float64
	Duration        float64
	ReplicatedBytes float64
	ReplicatedFiles float64
}

type ReplicationViewsCollector

type ReplicationViewsCollector struct {
	NotCompleted    *prometheus.Desc
	StartTime       *prometheus.Desc
	EndTime         *prometheus.Desc
	Duration        *prometheus.Desc
	ReplicatedBytes *prometheus.Desc
	ReplicatedFiles *prometheus.Desc
	// contains filtered or unexported fields
}

func (*ReplicationViewsCollector) Collect

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

func (*ReplicationViewsCollector) Describe

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

type StatusCollector

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

func (*StatusCollector) Collect

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

func (*StatusCollector) Describe

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

type StatusMetric

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

type StoragePoolCollector added in v0.6.0

type StoragePoolCollector struct {
	PercentUtilized *prometheus.Desc
	// contains filtered or unexported fields
}

func (*StoragePoolCollector) Collect added in v0.6.0

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

func (*StoragePoolCollector) Describe added in v0.6.0

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

type StoragePoolMetric added in v0.6.0

type StoragePoolMetric struct {
	Name            string
	PoolType        string
	ClassName       string
	StorageType     string
	PercentUtilized float64
}

type TSMCollector

type TSMCollector struct {
	Collectors map[string]Collector
}

func NewCollector

func NewCollector(target *config.Target, logger log.Logger) *TSMCollector

type VolumeMetric

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

type VolumeUsageMetric added in v0.6.0

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

type VolumeUsagesCollector added in v0.6.0

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

func (*VolumeUsagesCollector) Collect added in v0.6.0

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

func (*VolumeUsagesCollector) Describe added in v0.6.0

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

type VolumesCollector

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

func (*VolumesCollector) Collect

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

func (*VolumesCollector) Describe

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

Jump to

Keyboard shortcuts

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