Commit 16f6824
prometheus: Refactor PeerCollector to PeerChannelsCollector.
Metrics from this collector are operating exclusively on the
`listpeerchannels` RPC method, so naming it accordingly. Also,
- Removes obsolete call to `listpeers`.
- Renames the `lightning_peer_connected` metric to `lightning_peer_channel_connected`.1 parent 96ac0d5 commit 16f6824
1 file changed
+4
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | | - | |
87 | | - | |
88 | 86 | | |
89 | | - | |
90 | | - | |
| 87 | + | |
| 88 | + | |
91 | 89 | | |
92 | 90 | | |
93 | 91 | | |
| |||
234 | 232 | | |
235 | 233 | | |
236 | 234 | | |
237 | | - | |
| 235 | + | |
238 | 236 | | |
239 | 237 | | |
240 | 238 | | |
| |||
0 commit comments