diff --git a/prometheus/prometheus.py b/prometheus/prometheus.py index d3f9dda..1ca68db 100755 --- a/prometheus/prometheus.py +++ b/prometheus/prometheus.py @@ -104,7 +104,7 @@ class ChannelsCollector(BaseLnCollector): peers = self.rpc.listpeers()['peers'] for p in peers: for c in p['channels']: - labels = [p['id'], c['short_channel_id']] + labels = [p['id'], c['channel_id']] balance_gauge.add_metric(labels, c['to_us_msat'].to_satoshi()) spendable_gauge.add_metric(labels, c['spendable_msat'].to_satoshi())