Skip to content

Commit 873c265

Browse files
authored
Enhancement: filter prometheus API endpoint for active only (#4701)
1 parent 07dff4c commit 873c265

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/widgets/prometheus/widget.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const widget = {
66

77
mappings: {
88
targets: {
9-
endpoint: "targets",
9+
endpoint: "targets?state=active",
1010
validate: ["data"],
1111
},
1212
},

0 commit comments

Comments
 (0)