Fix remaining metric naming issues (#799)

This commit is contained in:
Matt Layher 2018-02-12 12:53:31 -05:00 committed by Ben Kochie
commit 544488ddd6
5 changed files with 296 additions and 296 deletions

View file

@ -204,7 +204,7 @@ func (c *bcacheCollector) updateBcacheStats(ch chan<- prometheus.Metric, s *bcac
metricType: prometheus.GaugeValue,
},
{
name: "cache_read_races",
name: "cache_read_races_total",
desc: "Counts instances where while data was being read from the cache, the bucket was reused and invalidated - i.e. where the pointer was stale after the read completed.",
value: float64(s.Bcache.Internal.CacheReadRaces),
metricType: prometheus.CounterValue,