Documentation ¶
Index ¶
- Variables
- func Mmdf(fs string) (string, error)
- func SliceContains(slice []string, str string) bool
- type CESMetric
- type Collector
- type DFMetric
- type DiagMetric
- type GPFSCollector
- type GPFSFilesystem
- type HealthMetric
- type MmcesCollector
- type MmdfCollector
- type MmdiagCollector
- type MmhealthCollector
- type MmpmonCollector
- type MountCollector
- type PerfMetrics
- type VerbsCollector
- type VerbsMetrics
Constants ¶
This section is empty.
Variables ¶
View Source
var (
KbToBytes = []string{"fsSize", "freeBlocks", "totalMetadata"}
)
Functions ¶
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 NewMmcesCollector ¶ added in v0.3.0
func NewMmcesCollector() Collector
func NewMmdfCollector ¶
func NewMmdfCollector() Collector
func NewMmdiagCollector ¶ added in v0.3.0
func NewMmdiagCollector() Collector
func NewMmhealthCollector ¶
func NewMmhealthCollector() Collector
func NewMmpmonCollector ¶
func NewMmpmonCollector() Collector
func NewMountCollector ¶
func NewMountCollector() Collector
func NewVerbsCollector ¶
func NewVerbsCollector() Collector
type DFMetric ¶
type DFMetric struct { FS string InodesUsed int64 InodesFree int64 InodesAllocated int64 InodesTotal int64 FSTotal int64 FSFree int64 FSFreePercent int64 MetadataTotal int64 MetadataFree int64 MetadataFreePercent int64 }
func Parse_mmdf ¶
type DiagMetric ¶ added in v0.3.0
type DiagMetric struct {
WaitersCount int
}
type GPFSCollector ¶
func NewGPFSCollector ¶
func NewGPFSCollector() *GPFSCollector
type GPFSFilesystem ¶
type HealthMetric ¶
type MmcesCollector ¶ added in v0.3.0
type MmcesCollector struct {
State *prometheus.Desc
}
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 FSFreePercent *prometheus.Desc MetadataTotal *prometheus.Desc MetadataFree *prometheus.Desc MetadataFreePercent *prometheus.Desc }
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 {
WaitersCount *prometheus.Desc
}
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 MmhealthCollector ¶
type MmhealthCollector struct {
State *prometheus.Desc
}
func (*MmhealthCollector) Collect ¶
func (c *MmhealthCollector) Collect(ch chan<- prometheus.Metric)
func (*MmhealthCollector) Describe ¶
func (c *MmhealthCollector) 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 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 VerbsCollector ¶
type VerbsCollector struct {
Status *prometheus.Desc
}
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.