From d6c4eeaa1d7971724cd761aabf4f0a41c62f7daf Mon Sep 17 00:00:00 2001 From: iotux Date: Sat, 13 Dec 2025 10:16:14 +0100 Subject: [PATCH] Fixed Promotheus issue related to adding tags (#6476) --- server/prometheus.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server/prometheus.js b/server/prometheus.js index 70daf8ce7..19d4ac197 100644 --- a/server/prometheus.js +++ b/server/prometheus.js @@ -34,6 +34,7 @@ class Prometheus { * @returns {Promise} */ static async init() { + PrometheusClient.register.clear(); // Add all available tags as possible labels, // and use Set to remove possible duplicates (for when multiple tags contain non-ascii characters, and thus are sanitized to the same label) const tags = new Set((await R.findAll("tag")).map((tag) => {