Documentation ¶
Index ¶
- Variables
- func FileExists(filename string) bool
- func SliceContains(slice []string, str string) bool
- type CESMetric
- type Collector
- func NewConfigCollector(logger log.Logger) Collector
- func NewMmcesCollector(logger log.Logger) Collector
- func NewMmdfCollector(logger log.Logger) Collector
- func NewMmdiagCollector(logger log.Logger) Collector
- func NewMmgetstateCollector(logger log.Logger) Collector
- func NewMmhealthCollector(logger log.Logger) Collector
- func NewMmlsfilesetCollector(logger log.Logger) Collector
- func NewMmlssnapshotCollector(logger log.Logger) Collector
- func NewMmpmonCollector(logger log.Logger) Collector
- func NewMmrepquotaCollector(logger log.Logger) Collector
- func NewMountCollector(logger log.Logger) Collector
- func NewVerbsCollector(logger log.Logger) Collector
- type ConfigCollector
- type ConfigMetric
- type DFMetric
- type DiagMetric
- type DiagWaiter
- type FilesetMetric
- type GPFSCollector
- type GPFSFilesystem
- type HealthMetric
- type MmcesCollector
- type MmdfCollector
- type MmdiagCollector
- type MmgetstateCollector
- type MmgetstateMetrics
- type MmhealthCollector
- type MmlsfilesetCollector
- type MmlssnapshotCollector
- type MmpmonCollector
- type MmrepquotaCollector
- type MountCollector
- type PerfMetrics
- type QuotaMetric
- type SnapshotMetric
- type VerbsCollector
- type VerbsMetrics
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MmlsfsExec = mmlsfs NowLocation = func() *time.Location { return time.Now().Location() } )
View Source
var ( KbToBytes = []string{"fsSize", "freeBlocks", "totalMetadata"} MmdfExec = mmdf )
View Source
var ( SnapshotKbToBytes = []string{"data", "metadata"} MmlssnapshotExec = mmlssnapshot )
View Source
var (
MmdiagExec = mmdiag
)
View Source
var (
MmgetstateExec = mmgetstate
)
View Source
var (
MmlsfilesetExec = mmlsfileset
)
View Source
var (
MmpmonExec = mmpmon
)
Functions ¶
func FileExists ¶ added in v1.0.0
func SliceContains ¶
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 NewConfigCollector ¶ added in v1.4.0
func NewMmcesCollector ¶ added in v0.3.0
func NewMmdfCollector ¶
func NewMmdiagCollector ¶ added in v0.3.0
func NewMmgetstateCollector ¶ added in v0.8.0
func NewMmhealthCollector ¶
func NewMmlsfilesetCollector ¶ added in v1.3.0
func NewMmlssnapshotCollector ¶ added in v1.2.0
func NewMmpmonCollector ¶
func NewMmrepquotaCollector ¶ added in v1.0.0
func NewMountCollector ¶
func NewVerbsCollector ¶
type ConfigCollector ¶ added in v1.4.0
type ConfigCollector struct { PagePool *prometheus.Desc // contains filtered or unexported fields }
func (*ConfigCollector) Collect ¶ added in v1.4.0
func (c *ConfigCollector) Collect(ch chan<- prometheus.Metric)
func (*ConfigCollector) Describe ¶ added in v1.4.0
func (c *ConfigCollector) Describe(ch chan<- *prometheus.Desc)
type ConfigMetric ¶ added in v1.4.0
type ConfigMetric struct {
PagePool float64
}
type DiagMetric ¶ added in v0.3.0
type DiagMetric struct {
Waiters []DiagWaiter
}
type DiagWaiter ¶ added in v0.4.0
type FilesetMetric ¶ added in v1.3.0
type GPFSCollector ¶
func NewGPFSCollector ¶
func NewGPFSCollector(logger log.Logger) *GPFSCollector
type GPFSFilesystem ¶
type HealthMetric ¶
type MmcesCollector ¶ added in v0.3.0
type MmcesCollector struct { State *prometheus.Desc // contains filtered or unexported fields }
func (*MmcesCollector) Collect ¶ added in v0.3.0
func (c *MmcesCollector) Collect(ch chan<- prometheus.Metric)
func (*MmcesCollector) Describe ¶ added in v0.3.0
func (c *MmcesCollector) Describe(ch chan<- *prometheus.Desc)
type MmdfCollector ¶
type MmdfCollector struct { InodesUsed *prometheus.Desc InodesFree *prometheus.Desc InodesAllocated *prometheus.Desc InodesTotal *prometheus.Desc FSTotal *prometheus.Desc FSFree *prometheus.Desc MetadataTotal *prometheus.Desc MetadataFree *prometheus.Desc // contains filtered or unexported fields }
func (*MmdfCollector) Collect ¶
func (c *MmdfCollector) Collect(ch chan<- prometheus.Metric)
func (*MmdfCollector) Describe ¶
func (c *MmdfCollector) Describe(ch chan<- *prometheus.Desc)
type MmdiagCollector ¶ added in v0.3.0
type MmdiagCollector struct { Waiter *prometheus.Desc WaiterInfo *prometheus.Desc // contains filtered or unexported fields }
func (*MmdiagCollector) Collect ¶ added in v0.3.0
func (c *MmdiagCollector) Collect(ch chan<- prometheus.Metric)
func (*MmdiagCollector) Describe ¶ added in v0.3.0
func (c *MmdiagCollector) Describe(ch chan<- *prometheus.Desc)
type MmgetstateCollector ¶ added in v0.8.0
type MmgetstateCollector struct {
// contains filtered or unexported fields
}
func (*MmgetstateCollector) Collect ¶ added in v0.8.0
func (c *MmgetstateCollector) Collect(ch chan<- prometheus.Metric)
func (*MmgetstateCollector) Describe ¶ added in v0.8.0
func (c *MmgetstateCollector) Describe(ch chan<- *prometheus.Desc)
type MmgetstateMetrics ¶ added in v0.8.0
type MmgetstateMetrics struct {
// contains filtered or unexported fields
}
type MmhealthCollector ¶
type MmhealthCollector struct { State *prometheus.Desc // contains filtered or unexported fields }
func (*MmhealthCollector) Collect ¶
func (c *MmhealthCollector) Collect(ch chan<- prometheus.Metric)
func (*MmhealthCollector) Describe ¶
func (c *MmhealthCollector) Describe(ch chan<- *prometheus.Desc)
type MmlsfilesetCollector ¶ added in v1.3.0
type MmlsfilesetCollector struct { Status *prometheus.Desc Path *prometheus.Desc Created *prometheus.Desc MaxInodes *prometheus.Desc AllocInodes *prometheus.Desc FreeInodes *prometheus.Desc // contains filtered or unexported fields }
func (*MmlsfilesetCollector) Collect ¶ added in v1.3.0
func (c *MmlsfilesetCollector) Collect(ch chan<- prometheus.Metric)
func (*MmlsfilesetCollector) Describe ¶ added in v1.3.0
func (c *MmlsfilesetCollector) Describe(ch chan<- *prometheus.Desc)
type MmlssnapshotCollector ¶ added in v1.2.0
type MmlssnapshotCollector struct { Status *prometheus.Desc Created *prometheus.Desc Data *prometheus.Desc Metadata *prometheus.Desc // contains filtered or unexported fields }
func (*MmlssnapshotCollector) Collect ¶ added in v1.2.0
func (c *MmlssnapshotCollector) Collect(ch chan<- prometheus.Metric)
func (*MmlssnapshotCollector) Describe ¶ added in v1.2.0
func (c *MmlssnapshotCollector) Describe(ch chan<- *prometheus.Desc)
type MmpmonCollector ¶
type MmpmonCollector struct {
// contains filtered or unexported fields
}
func (*MmpmonCollector) Collect ¶
func (c *MmpmonCollector) Collect(ch chan<- prometheus.Metric)
func (*MmpmonCollector) Describe ¶
func (c *MmpmonCollector) Describe(ch chan<- *prometheus.Desc)
type MmrepquotaCollector ¶ added in v1.0.0
type MmrepquotaCollector struct { BlockUsage *prometheus.Desc BlockQuota *prometheus.Desc BlockLimit *prometheus.Desc BlockInDoubt *prometheus.Desc FilesUsage *prometheus.Desc FilesQuota *prometheus.Desc FilesLimit *prometheus.Desc FilesInDoubt *prometheus.Desc // contains filtered or unexported fields }
func (*MmrepquotaCollector) Collect ¶ added in v1.0.0
func (c *MmrepquotaCollector) Collect(ch chan<- prometheus.Metric)
func (*MmrepquotaCollector) Describe ¶ added in v1.0.0
func (c *MmrepquotaCollector) Describe(ch chan<- *prometheus.Desc)
type MountCollector ¶
type MountCollector struct {
// contains filtered or unexported fields
}
func (*MountCollector) Collect ¶
func (c *MountCollector) Collect(ch chan<- prometheus.Metric)
func (*MountCollector) Describe ¶
func (c *MountCollector) Describe(ch chan<- *prometheus.Desc)
type PerfMetrics ¶
type QuotaMetric ¶ added in v1.0.0
type SnapshotMetric ¶ added in v1.2.0
type VerbsCollector ¶
type VerbsCollector struct { Status *prometheus.Desc // contains filtered or unexported fields }
func (*VerbsCollector) Collect ¶
func (c *VerbsCollector) Collect(ch chan<- prometheus.Metric)
func (*VerbsCollector) Describe ¶
func (c *VerbsCollector) Describe(ch chan<- *prometheus.Desc)
type VerbsMetrics ¶
type VerbsMetrics struct {
Status string
}
Click to show internal directories.
Click to hide internal directories.