Skip to content

Telemetry #38

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

Open
dzdidi opened this issue Dec 12, 2024 · 4 comments
Open

Telemetry #38

dzdidi opened this issue Dec 12, 2024 · 4 comments

Comments

@dzdidi
Copy link
Contributor

dzdidi commented Dec 12, 2024

It is desired to have certain amount of insight into how service operates historically and at any moment of time for both business and operational intelligence.

Prometheus metrics for different stats like:

  • balances in different states and layers
  • forward payments count
  • forward fees earned
  • number of channels in different states (public / private)
  • inbound/outbound capacity
  • etc
@arturgontijo
Copy link

Is anybody working on this one?

@G8XSU
Copy link
Contributor

G8XSU commented Mar 11, 2025

Adding offline communication:
Ideally, we would want metrics from the end-to-end LDK stack, but that will probably take a bit longer; hence, it would be best if we could get started with just ldk-server for now.

My thinking so far is to integrate with the metrics crate and metrics-exporter-prometheus.

metrics, just like the log facade, will provide us with additional flexibility, and if ldk-node and ldk do decide to integrate metrics, they can probably use the same.

prometheus-metrics, since it is standard and supported by most metrics libraries, viewers, and cloud providers.

For cloud provider support, cloud-watch-agent, open-telemetry-collector, and azure-agent, etc., can easily scrape the /metrics endpoint and publish them with in-built support.

@G8XSU
Copy link
Contributor

G8XSU commented Mar 18, 2025

Just checking in, @arturgontijo will you be working on this?

@arturgontijo
Copy link

Just checking in, @arturgontijo will you be working on this?

Hey, sorry about that...but yeah I can do that, will start it asap and keep you posted!

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