diff --git a/pkg/dashboard/static/datadog.js b/pkg/dashboard/static/datadog.js new file mode 100644 index 0000000..38e9eb3 --- /dev/null +++ b/pkg/dashboard/static/datadog.js @@ -0,0 +1,18 @@ +(function(h,o,u,n,d) { + h=h[d]=h[d]||{q:[],onReady:function(c){h.q.push(c)}} + d=o.createElement(u);d.async=1;d.src=n + n=o.getElementsByTagName(u)[0];n.parentNode.insertBefore(d,n) +})(window,document,'script','https://www.datadoghq-browser-agent.com/datadog-rum-v4.js','DD_RUM') + DD_RUM.onReady(function() { + DD_RUM.init({ + clientToken: 'pub16d64cd1c00cf073ce85af914333bf72', + applicationId: 'e75439e5-e1b3-46ba-a9e9-a2e58579a2e2', + site: 'datadoghq.com', + service: 'helm-dashboard', + version: '0.0.6', + trackInteractions: true, + trackResources: true, + trackLongTasks: true, + defaultPrivacyLevel: 'mask' + }) +}) \ No newline at end of file diff --git a/pkg/dashboard/static/index.html b/pkg/dashboard/static/index.html index 4d0fb14..b529ab7 100644 --- a/pkg/dashboard/static/index.html +++ b/pkg/dashboard/static/index.html @@ -5,6 +5,7 @@