diff --git a/pkg/dashboard/static/datadog.js b/pkg/dashboard/static/datadog.js index 9da5f4a..ecba853 100644 --- a/pkg/dashboard/static/datadog.js +++ b/pkg/dashboard/static/datadog.js @@ -6,13 +6,14 @@ DD_RUM.onReady(function() { const xhr = new XMLHttpRequest(); xhr.onreadystatechange = function() { - if (xhr.readyState === XMLHttpRequest.DONE) { + const version = xhr.responseText; + if (xhr.readyState === XMLHttpRequest.DONE && version!=="dev") { DD_RUM.init({ clientToken: 'pub16d64cd1c00cf073ce85af914333bf72', applicationId: 'e75439e5-e1b3-46ba-a9e9-a2e58579a2e2', site: 'datadoghq.com', service: 'helm-dashboard', - version: xhr.responseText, + version: version, trackInteractions: true, trackResources: true, trackLongTasks: true, diff --git a/plugin.yaml b/plugin.yaml index 66abb91..6fce040 100644 --- a/plugin.yaml +++ b/plugin.yaml @@ -1,5 +1,5 @@ name: "dashboard" -version: "0.1.0" +version: "0.1.1" usage: "A simplified way of working with Helm" description: "View HELM situation in nice web UI" command: "$HELM_PLUGIN_DIR/bin/helm-dashboard"