mirror of
https://github.com/aljazceru/plugins.git
synced 2026-01-04 22:04:20 +01:00
@@ -32,7 +32,11 @@ class NodeCollector(BaseLnCollector):
|
||||
value=blockheight,
|
||||
)
|
||||
|
||||
fees_msat = info["msatoshi_fees_collected"]
|
||||
print(info)
|
||||
fees_msat = int(info.get(
|
||||
"fees_collected_msat",
|
||||
info.get("msatoshi_fees_collected", None)
|
||||
))
|
||||
yield GaugeMetricFamily(
|
||||
'lightning_fees_collected_msat',
|
||||
'How much have we been paid to route payments?',
|
||||
|
||||
Reference in New Issue
Block a user