MCPcopy
hub / github.com/grafana/tempo / readDedicatedAttributes

Method readDedicatedAttributes

cmd/tempo-cli/cmd-gen-attrindex.go:84–93  ·  view source on GitHub ↗
(meta *backend.BlockMeta)

Source from the content-addressed store, hash-verified

82}
83
84func (cmd *attrIndexCmd) readDedicatedAttributes(meta *backend.BlockMeta) {
85 for _, ded := range meta.DedicatedColumns {
86 switch ded.Scope {
87 case backend.DedicatedColumnScopeResource:
88 cmd.dedicatedRes = append(cmd.dedicatedRes, ded.Name)
89 case backend.DedicatedColumnScopeSpan:
90 cmd.dedicatedSpan = append(cmd.dedicatedSpan, ded.Name)
91 }
92 }
93}
94
95func (cmd *attrIndexCmd) collectAttributeStats() (*fileStats, error) {
96 stats := fileStats{

Callers 1

RunMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected