Fix NFSd metric type (#819)

RPC Count should be a counter, not a gauge.
This commit is contained in:
Ben Kochie 2018-02-13 17:03:22 +01:00 committed by GitHub
commit 3de2542d21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -230,7 +230,7 @@ func (c *nfsdCollector) updateNFSdServerRPCStats(ch chan<- prometheus.Metric, s
nil,
nil,
),
prometheus.GaugeValue,
prometheus.CounterValue,
float64(s.RPCCount))
}