Skip to content

Commit

Permalink
Merge pull request #1943 from hs0210/work
Browse files Browse the repository at this point in the history
bcache: fix typo
  • Loading branch information
SuperQ authored Feb 3, 2021
2 parents 477a192 + 0900cb5 commit 22c5aeb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion collector/bcache_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ func (c *bcacheCollector) updateBcacheStats(ch chan<- prometheus.Metric, s *bcac
extraLabelValue: bdev.Name,
},
{
name: "writeback_rate_proportinal_term",
name: "writeback_rate_proportional_term",
desc: "Current result of proportional controller, part of writeback rate",
value: float64(bdev.WritebackRateDebug.Proportional),
metricType: prometheus.GaugeValue,
Expand Down
6 changes: 3 additions & 3 deletions collector/fixtures/e2e-output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,9 @@ node_bcache_writeback_rate{backing_device="bdev0",uuid="deaddd54-c735-46d5-868e-
# HELP node_bcache_writeback_rate_integral_term Current result of integral controller, part of writeback rate
# TYPE node_bcache_writeback_rate_integral_term gauge
node_bcache_writeback_rate_integral_term{backing_device="bdev0",uuid="deaddd54-c735-46d5-868e-f331c5fd7c74"} 808960
# HELP node_bcache_writeback_rate_proportinal_term Current result of proportional controller, part of writeback rate
# TYPE node_bcache_writeback_rate_proportinal_term gauge
node_bcache_writeback_rate_proportinal_term{backing_device="bdev0",uuid="deaddd54-c735-46d5-868e-f331c5fd7c74"} 437748
# HELP node_bcache_writeback_rate_proportional_term Current result of proportional controller, part of writeback rate
# TYPE node_bcache_writeback_rate_proportional_term gauge
node_bcache_writeback_rate_proportional_term{backing_device="bdev0",uuid="deaddd54-c735-46d5-868e-f331c5fd7c74"} 437748
# HELP node_bcache_written_bytes_total Sum of all data that has been written to the cache.
# TYPE node_bcache_written_bytes_total counter
node_bcache_written_bytes_total{cache_device="cache0",uuid="deaddd54-c735-46d5-868e-f331c5fd7c74"} 0
Expand Down

0 comments on commit 22c5aeb

Please sign in to comment.