Skip to content

Commit

Permalink
remove duplicate metric
Browse files Browse the repository at this point in the history
  • Loading branch information
wagpa committed Dec 1, 2024
1 parent 17519f4 commit 8e0e8a9
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,14 +153,6 @@ impl Handler {
message_sent.clone(),
);

debug!(metrics_name = "emote_used", "Building metric");
let emote_used = Family::<EmoteUsedLabels, Counter>::default();
registry.register(
"emote_used",
"The total number of discord emotes sent by users in messages.",
emote_used.clone(),
);

debug!(metrics_name = "emote_used", "Building metric");
let emote_used = Family::<EmoteUsedLabels, Counter>::default();
registry.register(
Expand Down

0 comments on commit 8e0e8a9

Please sign in to comment.