Make the prometheus plugin listen on 127.0.0.1 (localhost) by default
instead of open to the world. This closes a privacy breach in the
default configuration.
Also, if the channel isn't confirmed yet (no short_channel_id field),
give the long channel id.
Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
This metric is useful on initial sync, when bitcoind is already synced, but lightningd is still working through the blocks.
Comparing the two measures allows to calculate the indexing progress.
The metrics should always have a name that uniquely identifies the monitored
system and the metric on that system. `node` just doesn't say much if
presented along with metrics from other systems.
Signed-off-by: Christian Decker <decker.christian@gmail.com>