mirror of
https://github.com/prometheus-community/windows_exporter
synced 2025-02-17 20:47:31 +00:00
Merge pull request #540 from prometheus-community/fix-fsrm-build-failure
Revert fsrm struct removal
This commit is contained in:
commit
c9f1e5068a
@ -10,7 +10,20 @@ func init() {
|
|||||||
registerCollector("fsrmquota", newFSRMQuotaCollector)
|
registerCollector("fsrmquota", newFSRMQuotaCollector)
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewSRMQuotaCollector ...
|
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
|
||||||
|
}
|
||||||
|
|
||||||
func newFSRMQuotaCollector() (Collector, error) {
|
func newFSRMQuotaCollector() (Collector, error) {
|
||||||
const subsystem = "fsrmquota"
|
const subsystem = "fsrmquota"
|
||||||
return &FSRMQuotaCollector{
|
return &FSRMQuotaCollector{
|
||||||
|
Loading…
Reference in New Issue
Block a user