diff --git a/collector/mountstats_linux.go b/collector/mountstats_linux.go index 33966597..9840d700 100644 --- a/collector/mountstats_linux.go +++ b/collector/mountstats_linux.go @@ -853,7 +853,7 @@ func (c *mountStatsCollector) updateNFSStats(ch chan<- prometheus.Metric, s *pro ch <- prometheus.MustNewConstMetric( c.NFSTransportRdmaRequestTotal, - prometheus.ValueType, + prometheus.GaugeValue, float64(s.Transport.TotalRdmaRequest), labelValues..., ) @@ -916,7 +916,7 @@ func (c *mountStatsCollector) updateNFSStats(ch chan<- prometheus.Metric, s *pro ch <- prometheus.MustNewConstMetric( c.NFSTransportRdmaReplyTotal, - prometheus.ValueType, + prometheus.GaugeValue, float64(s.Transport.TotalRdmaReply), labelValues..., )