Release 0.1.1

This commit is contained in:
Andrei Pohilko
2022-10-12 12:23:03 +01:00
parent d8afa3861d
commit 5cae4b5adf
2 changed files with 4 additions and 3 deletions

View File

@@ -6,13 +6,14 @@
DD_RUM.onReady(function() { DD_RUM.onReady(function() {
const xhr = new XMLHttpRequest(); const xhr = new XMLHttpRequest();
xhr.onreadystatechange = function() { xhr.onreadystatechange = function() {
if (xhr.readyState === XMLHttpRequest.DONE) { const version = xhr.responseText;
if (xhr.readyState === XMLHttpRequest.DONE && version!=="dev") {
DD_RUM.init({ DD_RUM.init({
clientToken: 'pub16d64cd1c00cf073ce85af914333bf72', clientToken: 'pub16d64cd1c00cf073ce85af914333bf72',
applicationId: 'e75439e5-e1b3-46ba-a9e9-a2e58579a2e2', applicationId: 'e75439e5-e1b3-46ba-a9e9-a2e58579a2e2',
site: 'datadoghq.com', site: 'datadoghq.com',
service: 'helm-dashboard', service: 'helm-dashboard',
version: xhr.responseText, version: version,
trackInteractions: true, trackInteractions: true,
trackResources: true, trackResources: true,
trackLongTasks: true, trackLongTasks: true,

View File

@@ -1,5 +1,5 @@
name: "dashboard" name: "dashboard"
version: "0.1.0" version: "0.1.1"
usage: "A simplified way of working with Helm" usage: "A simplified way of working with Helm"
description: "View HELM situation in nice web UI" description: "View HELM situation in nice web UI"
command: "$HELM_PLUGIN_DIR/bin/helm-dashboard" command: "$HELM_PLUGIN_DIR/bin/helm-dashboard"