diff --git a/collector/os.go b/collector/os.go index b6819fe7..2a55f7b0 100644 --- a/collector/os.go +++ b/collector/os.go @@ -303,7 +303,7 @@ func (c *OSCollector) collect(ctx *ScrapeContext, ch chan<- prometheus.Metric) ( ch <- prometheus.MustNewConstMetric( c.PagingLimitBytes, prometheus.GaugeValue, - float64(fsipf), + fsipf, ) ch <- prometheus.MustNewConstMetric(