From d0f15f2754517cf13b85bd8233ee3905f0c2e901 Mon Sep 17 00:00:00 2001 From: WenTao Ou Date: Fri, 29 Sep 2023 16:53:47 +0800 Subject: [PATCH] Remove unused variables. Signed-off-by: WenTao Ou --- exporters/prometheus/src/exporter_utils.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/exporters/prometheus/src/exporter_utils.cc b/exporters/prometheus/src/exporter_utils.cc index 4e5b75707a..a54fb3e429 100644 --- a/exporters/prometheus/src/exporter_utils.cc +++ b/exporters/prometheus/src/exporter_utils.cc @@ -31,9 +31,6 @@ namespace metrics namespace { -static constexpr const char *kPrometheusInstance = "instance"; -static constexpr const char *kPrometheusJob = "job"; - /** * Sanitize the given metric name by replacing invalid characters with _, * ensuring that multiple consecutive _ characters are collapsed to a single _.