collector/entropy_linux.go: Use canonical name for available entropy

This commit is contained in:
Richard Hartmann 2016-01-14 08:26:04 +01:00
parent dc4314b037
commit e8fdc4d160
2 changed files with 4 additions and 4 deletions

View file

@ -34,7 +34,7 @@ func init() {
func NewEntropyCollector() (Collector, error) {
return &entropyCollector{
entropy_avail: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, "", "entropy_avail"),
prometheus.BuildFQName(Namespace, "", "entropy_available_bits"),
"Bits of available entropy.",
nil, nil,
),

View file

@ -362,9 +362,9 @@ node_disk_writes_merged{device="mmcblk0p2"} 0
node_disk_writes_merged{device="sda"} 1.1134226e+07
node_disk_writes_merged{device="sr0"} 0
node_disk_writes_merged{device="vda"} 2.0711856e+07
# HELP node_entropy_avail Bits of available entropy.
# TYPE node_entropy_avail gauge
node_entropy_avail 1337
# HELP node_entropy_available_bits Bits of available entropy.
# TYPE node_entropy_available_bits gauge
node_entropy_available_bits 1337
# HELP node_exporter_scrape_duration_seconds node_exporter: Duration of a scrape job.
# TYPE node_exporter_scrape_duration_seconds summary
node_exporter_scrape_duration_seconds{collector="bonding",result="success",quantile="0.5"} 7.481600000000001e-05