change metric description to correct units

Signed-off-by: binjip978 <binjip978@gmail.com>
This commit is contained in:
binjip978 2020-06-16 18:29:22 +03:00
parent 6d1a4ddb24
commit 3e1cb10f55
2 changed files with 5 additions and 5 deletions

View File

@ -49,8 +49,8 @@ func NewEntropyCollector(logger log.Logger) (Collector, error) {
nil, nil,
),
entropyPoolSize: prometheus.NewDesc(
prometheus.BuildFQName(namespace, "", "entropy_pool_size_bytes"),
"Bytes of entropy pool.",
prometheus.BuildFQName(namespace, "", "entropy_pool_size_bits"),
"Bits of entropy pool.",
nil, nil,
),
logger: logger,

View File

@ -627,9 +627,9 @@ node_edac_uncorrectable_errors_total{controller="0"} 5
# HELP node_entropy_available_bits Bits of available entropy.
# TYPE node_entropy_available_bits gauge
node_entropy_available_bits 1337
# HELP node_entropy_pool_size_bytes Bytes of entropy pool.
# TYPE node_entropy_pool_size_bytes gauge
node_entropy_pool_size_bytes 4096
# HELP node_entropy_pool_size_bits Bits of entropy pool.
# TYPE node_entropy_pool_size_bits gauge
node_entropy_pool_size_bits 4096
# HELP node_exporter_build_info A metric with a constant '1' value labeled by version, revision, branch, and goversion from which node_exporter was built.
# TYPE node_exporter_build_info gauge
# HELP node_filefd_allocated File descriptor statistics: allocated.