romanz / electrs

An efficient re-implementation of Electrum Server in Rust
MIT License
1.09k stars 403 forks source link

Consider using `prometheus-client` crate #668

Open romanz opened 2 years ago

romanz commented 2 years ago

instead of https://github.com/tikv/rust-prometheus

Kixunil commented 2 years ago

Shouldn't it be server? Or is the concept swapped around? Are there advantages other than it being official?

romanz commented 2 years ago

Or is the concept swapped around?

IIUC, yes: https://github.com/prometheus/client_rust/blob/21ad911dc4a7d7d17bf1208ebf963aab1016fa26/examples/tide.rs#L31

Are there advantages other than it being official?

Not sure, hence the issue :)