MCPcopy
hub / github.com/netdata/netdata / HOST

Method HOST

src/go/pkg/netdataapi/api.go:146–148  ·  view source on GitHub ↗

HOST switches the current context to a specific host.

(guid string)

Source from the content-addressed store, hash-verified

144
145// HOST switches the current context to a specific host.
146func (a *API) HOST(guid string) {
147 _, _ = a.Write([]byte("HOST " + "'" + guid + "'\n\n"))
148}
149
150// FUNCRESULT writes a function result to Netdata.
151func (a *API) FUNCRESULT(result FunctionResult) {

Callers 4

emitHostSelectionFunction · 0.80
CleanupMethod · 0.80
processMetricsMethod · 0.80
TestHOSTFunction · 0.80

Calls 1

WriteMethod · 0.65

Tested by 1

TestHOSTFunction · 0.64