Documentation ¶
Index ¶
- Variables
- type Collector
- func NewDBExporter(target *config.Target, logger log.Logger) Collector
- func NewDrivesExporter(target *config.Target, logger log.Logger) Collector
- func NewEventsExporter(target *config.Target, logger log.Logger) Collector
- func NewLibVolumesExporter(target *config.Target, logger log.Logger) Collector
- func NewLogExporter(target *config.Target, logger log.Logger) Collector
- func NewOccupancysExporter(target *config.Target, logger log.Logger) Collector
- func NewReplicationViewsExporter(target *config.Target, logger log.Logger) Collector
- func NewStatusExporter(target *config.Target, logger log.Logger) Collector
- func NewStoragePoolExporter(target *config.Target, logger log.Logger) Collector
- func NewVolumeUsagesExporter(target *config.Target, logger log.Logger) Collector
- func NewVolumesExporter(target *config.Target, logger log.Logger) Collector
- type DBCollector
- type DBMetric
- type DriveMetric
- type DrivesCollector
- type EventMetric
- type EventsCollector
- type LibVolumeMetric
- type LibVolumesCollector
- type LogCollector
- type LogMetric
- type OccupancyMetric
- type OccupancysCollector
- type ReplicationViewMetric
- type ReplicationViewsCollector
- type StatusCollector
- type StatusMetric
- type StoragePoolCollector
- type StoragePoolMetric
- type TSMCollector
- type VolumeMetric
- type VolumeUsageMetric
- type VolumeUsagesCollector
- type VolumesCollector
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 NewLibVolumesExporter ¶
func NewOccupancysExporter ¶ added in v0.6.0
func NewStoragePoolExporter ¶ added in v0.6.0
func NewVolumeUsagesExporter ¶ added in v0.6.0
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 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 OccupancyMetric ¶ added in v0.6.0
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 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 TSMCollector ¶
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)
Click to show internal directories.
Click to hide internal directories.