From 873c2652055beed44ccc699f0b6c0c493de8bdb3 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Mon, 3 Feb 2025 08:56:40 -0800 Subject: [PATCH] Enhancement: filter prometheus API endpoint for active only (#4701) --- src/widgets/prometheus/widget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/prometheus/widget.js b/src/widgets/prometheus/widget.js index 1ecf7b7c..817dc029 100644 --- a/src/widgets/prometheus/widget.js +++ b/src/widgets/prometheus/widget.js @@ -6,7 +6,7 @@ const widget = { mappings: { targets: { - endpoint: "targets", + endpoint: "targets?state=active", validate: ["data"], }, },