MCPcopy Index your code
hub / github.com/netdata/netdata / DISABLE

Method DISABLE

src/go/pkg/netdataapi/api.go:116–118  ·  view source on GitHub ↗

DISABLE disables this plugin. This will prevent Netdata from restarting the plugin.

()

Source from the content-addressed store, hash-verified

114// DISABLE disables this plugin.
115// This will prevent Netdata from restarting the plugin.
116func (a *API) DISABLE() {
117 _, _ = a.Write([]byte("DISABLE\n"))
118}
119
120// EMPTYLINE writes an empty line to the output.
121func (a *API) EMPTYLINE() error {

Callers 2

runMethod · 0.80
TestDISABLEFunction · 0.80

Calls 1

WriteMethod · 0.65

Tested by 1

TestDISABLEFunction · 0.64