mirror of
https://github.com/prometheus/node_exporter.git
synced 2025-01-16 00:10:57 -08:00
collector/entropy_linux.go: Use canonical name for available entropy
This commit is contained in:
parent
dc4314b037
commit
e8fdc4d160
|
@ -34,7 +34,7 @@ func init() {
|
||||||
func NewEntropyCollector() (Collector, error) {
|
func NewEntropyCollector() (Collector, error) {
|
||||||
return &entropyCollector{
|
return &entropyCollector{
|
||||||
entropy_avail: prometheus.NewDesc(
|
entropy_avail: prometheus.NewDesc(
|
||||||
prometheus.BuildFQName(Namespace, "", "entropy_avail"),
|
prometheus.BuildFQName(Namespace, "", "entropy_available_bits"),
|
||||||
"Bits of available entropy.",
|
"Bits of available entropy.",
|
||||||
nil, nil,
|
nil, nil,
|
||||||
),
|
),
|
||||||
|
|
|
@ -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="sda"} 1.1134226e+07
|
||||||
node_disk_writes_merged{device="sr0"} 0
|
node_disk_writes_merged{device="sr0"} 0
|
||||||
node_disk_writes_merged{device="vda"} 2.0711856e+07
|
node_disk_writes_merged{device="vda"} 2.0711856e+07
|
||||||
# HELP node_entropy_avail Bits of available entropy.
|
# HELP node_entropy_available_bits Bits of available entropy.
|
||||||
# TYPE node_entropy_avail gauge
|
# TYPE node_entropy_available_bits gauge
|
||||||
node_entropy_avail 1337
|
node_entropy_available_bits 1337
|
||||||
# HELP node_exporter_scrape_duration_seconds node_exporter: Duration of a scrape job.
|
# HELP node_exporter_scrape_duration_seconds node_exporter: Duration of a scrape job.
|
||||||
# TYPE node_exporter_scrape_duration_seconds summary
|
# TYPE node_exporter_scrape_duration_seconds summary
|
||||||
node_exporter_scrape_duration_seconds{collector="bonding",result="success",quantile="0.5"} 7.481600000000001e-05
|
node_exporter_scrape_duration_seconds{collector="bonding",result="success",quantile="0.5"} 7.481600000000001e-05
|
||||||
|
|
Loading…
Reference in a new issue