MCPcopy
hub / github.com/netdata/netdata / SETEMPTY

Method SETEMPTY

src/go/pkg/netdataapi/api.go:98–100  ·  view source on GitHub ↗

SETEMPTY sets an empty value for a dimension in the initialized chart.

(id string)

Source from the content-addressed store, hash-verified

96
97// SETEMPTY sets an empty value for a dimension in the initialized chart.
98func (a *API) SETEMPTY(id string) {
99 _, _ = a.Write([]byte("SET '" + id + "' = \n"))
100}
101
102// VARIABLE sets the value of a CHART scope variable for the initialized chart.
103func (a *API) VARIABLE(ID string, value float64) {

Callers 3

emitUpdatePhaseFunction · 0.80
updateChartMethod · 0.80
TestSETEMPTYFunction · 0.80

Calls 1

WriteMethod · 0.65

Tested by 1

TestSETEMPTYFunction · 0.64