Skip to content

Add c-lightning exporter to exporters.md#1737

Merged
brian-brazil merged 1 commit intoprometheus:masterfrom
cdecker:patch-1
Aug 28, 2020
Merged

Add c-lightning exporter to exporters.md#1737
brian-brazil merged 1 commit intoprometheus:masterfrom
cdecker:patch-1

Conversation

@cdecker
Copy link
Contributor

@cdecker cdecker commented Aug 28, 2020

The exporter was already added to the port-reservations list, and exports a variety of metrics from the Lightning Network client.

The exporter was already added to the port-reservations list, and exports a variety of metrics from the Lightning Network client.

Signed-off-by: Christian Decker <decker.christian@gmail.com>
@brian-brazil
Copy link
Contributor

Thanks!

Some suggestions to improve your exporter:

_total is a suffix for counters, it shouldn't be used with gauges. Some metrics like lightning_channel_in_msatoshi_offered also sound like they might be counters rather than gauges.

Units are inconsistent, sometimes missing and conflicting with the help text. You should consistently use satoshis, and also include satoshi as the unit in all relevant metric names for clarity.

id is a bit of a generic label, peer or peer_id would be clearer.

@cdecker
Copy link
Contributor Author

cdecker commented Aug 29, 2020

Thanks for the review @brian-brazil and a huge thanks for the suggestions, we'll implement them asap 👍

@beorn7 beorn7 added the exporters and integrations Requests for new entries in the list of exporters and integrations label Sep 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

exporters and integrations Requests for new entries in the list of exporters and integrations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants