diff --git a/collector/fsrmquota.go b/collector/fsrmquota.go index 00b8b8d4..29edec20 100644 --- a/collector/fsrmquota.go +++ b/collector/fsrmquota.go @@ -7,10 +7,23 @@ import ( ) func init() { - registerCollector("fsrmquota",newFSRMQuotaCollector) + registerCollector("fsrmquota", newFSRMQuotaCollector) +} + +type FSRMQuotaCollector struct { + QuotasCount *prometheus.Desc + Path *prometheus.Desc + PeakUsage *prometheus.Desc + Size *prometheus.Desc + Usage *prometheus.Desc + + Description *prometheus.Desc + Disabled *prometheus.Desc + MatchesTemplate *prometheus.Desc + SoftLimit *prometheus.Desc + Template *prometheus.Desc } -// NewSRMQuotaCollector ... func newFSRMQuotaCollector() (Collector, error) { const subsystem = "fsrmquota" return &FSRMQuotaCollector{