Created
January 17, 2025 22:33
-
-
Save dumbmoron/486be544b14a7dac71650e6cf05ba5ea to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Awesome, thanks!