mirror of
https://github.com/fluencelabs/kademlia-exporter
synced 2025-04-24 13:52:13 +00:00
src/main: Prefix metrics with kademlia_exporter
This commit is contained in:
parent
590822dd4d
commit
87d76a7357
@ -45,7 +45,7 @@ fn main() -> Result<(), Box<dyn Error>> {
|
||||
})
|
||||
.unwrap();
|
||||
|
||||
let registry = Registry::new();
|
||||
let registry = Registry::new_custom(Some("kademlia_exporter".to_string()), None).unwrap();
|
||||
let ip_db = opt
|
||||
.max_mind_db
|
||||
.map(|path| maxminddb::Reader::open_readfile(path).expect("Failed to open max mind db."));
|
||||
|
Loading…
x
Reference in New Issue
Block a user