Files
plugins/archive/prometheus/README.md
Chris Guida 3754a9e0f8 Demote autopilot, backup, donations, drain, helpme, historian, paytest, probe, prometheus, rebalance, and summary to the archive
drain: fix drain msats
drain: failing CI because of msats
historian: add inotify to historian deps
historian: update lockfile
2024-02-06 20:29:25 +00:00

19 lines
739 B
Markdown

# Prometheus plugin for c-lightning
This plugin exposes some key metrics from c-lightning in the prometheus format
so it can be scraped, plotted and alerts can be created on it. The plugin adds
the following command line arguments:
- `prometheus-listen`: the IP address and port to bind the HTTP server to
(default: `127.0.0.1:9750`)
Exposed variables include:
- `node`: ID, version, ...
- `peers`: whether they are connected, and how many channels are currently
open
- `channels`: fund allocations, spendable funds, and how many unresolved
HTLCs are currently attached to the channel
- `funds`: satoshis in on-chain outputs, satoshis allocated to channels and
total sum (may be inaccurate during channel resolution).