MCPcopy
hub / github.com/netdata/netdata / buildTemplateID

Function buildTemplateID

src/go/plugin/framework/chartengine/compiler.go:429–431  ·  view source on GitHub ↗
(groupPath []int, chartIndex int)

Source from the content-addressed store, hash-verified

427}
428
429func buildTemplateID(groupPath []int, chartIndex int) string {
430 return fmt.Sprintf("g%s.c%d", pathIndexes(groupPath), chartIndex)
431}
432
433func pathIndexes(path []int) string {
434 if len(path) == 0 {

Callers 1

compileGroupMethod · 0.85

Calls 1

pathIndexesFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…