diff --git a/public/index.html b/public/index.html index 7c2831e..073d7fa 100644 --- a/public/index.html +++ b/public/index.html @@ -460,8 +460,8 @@
- - + +
diff --git a/server/prometheus-service.js b/server/prometheus-service.js index aedcde0..a4132a6 100644 --- a/server/prometheus-service.js +++ b/server/prometheus-service.js @@ -805,7 +805,7 @@ module.exports = { if (!blackboxUrl || !target) return null; try { const normalized = blackboxUrl.trim().replace(/\/+$/, ''); - const params = new URLSearchParams({ query: `probe_duration_seconds{instance="${target}"}` }); + const params = new URLSearchParams({ query: `probe_duration_seconds{instance_name="${target}"}` }); const res = await fetch(`${normalized}/api/v1/query?${params.toString()}`); if (!res.ok) return null; const data = await res.json();