Skip to content

Commit

Permalink
chore: all metrics under 'ceramic_one' prom registry
Browse files Browse the repository at this point in the history
  • Loading branch information
dav1do committed Jun 6, 2024
1 parent 7cf8a91 commit 7b2038e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metrics/src/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pub(crate) struct Core {

impl Default for Core {
fn default() -> Self {
let mut reg = Registry::default();
let mut reg = Registry::with_prefix("ceramic_one");
Core {
bitswap_metrics: bitswap::Metrics::new(&mut reg),
libp2p_metrics: libp2p::metrics::Metrics::new(&mut reg),
Expand Down

0 comments on commit 7b2038e

Please sign in to comment.