mirror of
https://github.com/cirocosta/monero-exporter.git
synced 2024-10-01 08:25:41 -04:00
pkg/collector: add unit to block size metric
Signed-off-by: Ciro S. Costa <utxobr@protonmail.com>
This commit is contained in:
parent
7099b6ef1d
commit
6e7afaebeb
@ -101,7 +101,7 @@ func (c *OverallCollector) collect() {
|
|||||||
|
|
||||||
c.metricsC <- prometheus.MustNewConstMetric(
|
c.metricsC <- prometheus.MustNewConstMetric(
|
||||||
prometheus.NewDesc(
|
prometheus.NewDesc(
|
||||||
"monero_info_block_size_limit",
|
"monero_info_block_size_limit_bytes",
|
||||||
"maximum hard limit of a block",
|
"maximum hard limit of a block",
|
||||||
nil, nil,
|
nil, nil,
|
||||||
),
|
),
|
||||||
@ -111,7 +111,7 @@ func (c *OverallCollector) collect() {
|
|||||||
|
|
||||||
c.metricsC <- prometheus.MustNewConstMetric(
|
c.metricsC <- prometheus.MustNewConstMetric(
|
||||||
prometheus.NewDesc(
|
prometheus.NewDesc(
|
||||||
"monero_info_block_size_median",
|
"monero_info_block_size_median_bytes",
|
||||||
"current median size for computing dynamic fees",
|
"current median size for computing dynamic fees",
|
||||||
nil, nil,
|
nil, nil,
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user