Commit 9045be56 by Torkel Ödegaard

fix: Prometheus & hidden queries caused no metric query to be issued, fixes #8413

parent 59f3cca1
...@@ -76,7 +76,7 @@ export function PrometheusDatasource(instanceSettings, $q, backendSrv, templateS ...@@ -76,7 +76,7 @@ export function PrometheusDatasource(instanceSettings, $q, backendSrv, templateS
for (let target of options.targets) { for (let target of options.targets) {
if (!target.expr || target.hide) { if (!target.expr || target.hide) {
return; continue;
} }
activeTargets.push(target); activeTargets.push(target);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment