Skip to content

Commit

Permalink
change: prometheus metric namespace to peerobserver
Browse files Browse the repository at this point in the history
  • Loading branch information
0xB10C committed Feb 14, 2024
1 parent d22e856 commit 65d2801
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions metrics/src/metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use prometheus::{

// Prometheus Metrics

const NAMESPACE: &str = "networkobserver";
const NAMESPACE: &str = "peerobserver";

const SUBSYSTEM_RUNTIME: &str = "runtime";
const SUBSYSTEM_P2P: &str = "p2p";
Expand All @@ -32,7 +32,7 @@ pub const LABEL_P2P_REJECT_MESSAGE: &str = "rejectmessage";
pub const LABEL_CONN_NETWORK: &str = "network";
pub const LABEL_CONN_ADDR: &str = "addr";
pub const LABEL_CONN_MISBEHAVING_SCORE_INC: &str = "score_inc";
pub const LABEL_CONN_MISBEHAVING_MESSAGE: &str = "missbehavingmessage";
pub const LABEL_CONN_MISBEHAVING_MESSAGE: &str = "misbehavingmessage";
pub const LABEL_CONN_MISBEHAVING_ID: &str = "id";
pub const LABEL_ADDRMAN_NEW_INSERT_SUCCESS: &str = "inserted";
pub const LABEL_MEMPOOL_REASON: &str = "reason";
Expand Down

0 comments on commit 65d2801

Please sign in to comment.