From 8e0e8a97231822f6cf52ee5df90e9a84af09d7c1 Mon Sep 17 00:00:00 2001 From: Paul Wagner Date: Sun, 1 Dec 2024 13:30:56 +0100 Subject: [PATCH] remove duplicate metric --- src/metrics.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/metrics.rs b/src/metrics.rs index bcbf3af..826d93c 100644 --- a/src/metrics.rs +++ b/src/metrics.rs @@ -153,14 +153,6 @@ impl Handler { message_sent.clone(), ); - debug!(metrics_name = "emote_used", "Building metric"); - let emote_used = Family::::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::::default(); registry.register(