Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recommended way to connect dashboard to multiple lightning nodes? #46

Open
bucko13 opened this issue Oct 10, 2019 · 1 comment
Open
Assignees

Comments

@bucko13
Copy link

bucko13 commented Oct 10, 2019

Not sure if this even possible with current configuration (although I did see a Draft PR #42 that makes me think it's not yet), but having this capability and having it documented would be very helpful, especially since conceivably lndmon's target audience is more for power uses who are more likely than normal users to have multiple nodes they'd like to manage/monitor.

@Roasbeef
Copy link
Member

Roasbeef commented Dec 7, 2019

Atm it only works for a single lnd node. To support multiple nodes, we'll need to add a new label for a node ID, and that's about it.

This attribute should be chained to a map similar to map[string]*lndConfig. From there, multiple instances of the PrometheusExporter should be created for each entry in the map. The label (that string) value, should then be passed in to the exporter as a new param. Finally, all metrics should now include a node ID value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants