Skip to content

Commit fca3dbc

Browse files
collectors/graph_collector: fix label prefix
1 parent 5beeb77 commit fca3dbc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

collectors/graph_collector.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -39,27 +39,27 @@ func NewGraphCollector(lnd lnrpc.LightningClient) *GraphCollector {
3939
),
4040

4141
timelockDeltaDesc: prometheus.NewDesc(
42-
"lnd_channels_timelock_delta",
42+
"lnd_graph_timelock_delta",
4343
"time lock delta for a channel routing policy",
4444
labels, nil,
4545
),
4646
minHtlcMsatDesc: prometheus.NewDesc(
47-
"lnd_channels_min_htlc_msat",
47+
"lnd_graph_min_htlc_msat",
4848
"min htlc for a channel routing policy in msat",
4949
labels, nil,
5050
),
5151
feeBaseMsatDesc: prometheus.NewDesc(
52-
"lnd_channels_fee_base_msat",
52+
"lnd_graph_fee_base_msat",
5353
"base fee for a channel routing policy in msat",
5454
labels, nil,
5555
),
5656
feeRateMsatDesc: prometheus.NewDesc(
57-
"lnd_channels_fee_rate_msat",
57+
"lnd_graph_fee_rate_msat",
5858
"fee rate for a channel routing policy in msat",
5959
labels, nil,
6060
),
6161
maxHtlcMsatDesc: prometheus.NewDesc(
62-
"lnd_channels_max_htlc_msat",
62+
"lnd_graph_max_htlc_msat",
6363
"max htlc for a channel routing policy in msat",
6464
labels, nil,
6565
),

0 commit comments

Comments
 (0)