diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-10-17 09:30:23 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-10-17 09:30:23 +0000 |
commit | 517a443636daa1e8085cb4e5325524a54e8a8fd7 (patch) | |
tree | 5352109cc7cd5122274ab0cfc1f887b685f04edf /web/gui/v2/local-agent.html | |
parent | Releasing debian version 1.42.4-1. (diff) | |
download | netdata-517a443636daa1e8085cb4e5325524a54e8a8fd7.tar.xz netdata-517a443636daa1e8085cb4e5325524a54e8a8fd7.zip |
Merging upstream version 1.43.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'web/gui/v2/local-agent.html')
-rw-r--r-- | web/gui/v2/local-agent.html | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/web/gui/v2/local-agent.html b/web/gui/v2/local-agent.html index 7118c1ba7..843f13ea8 100644 --- a/web/gui/v2/local-agent.html +++ b/web/gui/v2/local-agent.html @@ -24,13 +24,15 @@ apiUrl: "https://app.netdata.cloud", cloudUrl: "https://app.netdata.cloud", demoSlug: "netdata-demo", - demoFavourites: {"postgresql":["postgres"],"redis":["redis"],"dns-query":["dns_query"],"http-endpoints":["httpcheck"],"nginx":["web_log","nginx"],"apache":["apache"],"host-reachability":["ping"],"cassandra":["cassandra"],"coredns":["coredns"],"logind":["logind"],"iis":["iis"],"active-directory":["ad"],"windows":["windows","ad","iis","mssql","exchange","netframework"],"docker":["cgroup","docker"]}, + demoFavourites: {"postgresql":["postgres"],"redis":["redis"],"dns-query":["dns_query"],"http-endpoints":["httpcheck"],"nginx":["web_log","nginx"],"apache":["apache"],"host-reachability":["ping"],"cassandra":["cassandra"],"coredns":["coredns"],"logind":["logind"],"iis":["iis"],"active-directory":["ad"],"windows":["windows","ad","iis","mssql","exchange","netframework"],"docker":["cgroup","docker"],"ups":["upsd"]}, webpackPublicPath: "", agentApiUrl: searchParams.get("agent") || getBasename(), - version: "6.29.0", + posthogToken: "phc_hnhlqe6D2Q4IcQNrFItaqdXJAxQ8RcHkPAFAp74pubv", + version: "6.52.2", tracking: false, cookieDomain: ".netdata.cloud", - onprem: false + onprem: false, + nodeEnv: "production" } function loadStyle(url, { media, insertAfter: aref, insertBefore: bref, rel, type } = {}) { @@ -204,5 +206,19 @@ if (event.source !== iframe.contentWindow) return; if (event.data.status === "disabled") console.error("Your netdata registry is disabled! Check your configuration.") + + if (event.data) { + if (!window.localNetdataRegistry) { + window.localNetdataRegistry = {} + } + + window.localNetdataRegistry.pg = event.data.person_guid + + if (!window.envSettings) { + window.envSettings = {} + } + + window.envSettings.visitor = event.data.person_guid + } }); - })</script></body></html>
\ No newline at end of file + }).catch(() => {})</script></body></html>
\ No newline at end of file |