Skip to content

Instantly share code, notes, and snippets.

@dumbmoron
Created January 17, 2025 22:33
Show Gist options
  • Save dumbmoron/486be544b14a7dac71650e6cf05ba5ea to your computer and use it in GitHub Desktop.
Save dumbmoron/486be544b14a7dac71650e6cf05ba5ea to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name fix netdata cloud
// @version 2025-01-17
// @description disarms the "local dashboard does not allow more than 5 active nodes" warning on netdata cloud dashboard
// @author jj <[email protected]>
// @match https://<your_netdata_hostname_goes_here>/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=netdata.cloud
// @grant none
// ==/UserScript==
(function() {
'use strict';
setInterval(() => {
if (window.localNetdataRegistry
&& window.localNetdataRegistry.limitations
&& window.localNetdataRegistry.limitations.limit !== Infinity
) {
window.localNetdataRegistry.limitations.limit = Infinity;
window.localNetdataRegistry.limitations.customDashboardsLimit = Infinity;
window.localNetdataRegistry.limitations.windowsSupport = true;
}
}, 100);
})();
@wolph
Copy link

wolph commented Mar 28, 2025

Awesome, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment