Skip to content

Conversation

arturgontijo
Copy link

This PR solve #38 by adding the metrics and metrics-exporter-prometheus crates to the ldk-server.
By using them we start introducing telemetry to its node and services.

# Conflicts:
#	ldk-server/Cargo.toml
#	ldk-server/src/main.rs
#	ldk-server/src/service.rs
@G8XSU G8XSU self-requested a review March 20, 2025 23:30

use metrics_exporter_prometheus::{PrometheusBuilder, PrometheusHandle};

pub fn setup_prometheus() -> PrometheusHandle {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you mean all their descriptions, right? Just leaving the returning handle?

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

Successfully merging this pull request may close these issues.

2 participants