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

Function newDistinctAttrCollector

tempodb/encoding/vparquet4/block_autocomplete.go:1114–1121  ·  view source on GitHub ↗
(scope traceql.AttributeScope, attrNames bool, existsTagName func(key tagNameKey) bool, existsTagValue func(val traceql.Static) bool)

Source from the content-addressed store, hash-verified

1112}
1113
1114func newDistinctAttrCollector(scope traceql.AttributeScope, attrNames bool, existsTagName func(key tagNameKey) bool, existsTagValue func(val traceql.Static) bool) *distinctAttrCollector {
1115 return &distinctAttrCollector{
1116 scope: scope,
1117 attrNames: attrNames,
1118 existsTagName: existsTagName,
1119 existsTagValue: existsTagValue,
1120 }
1121}
1122
1123func (d *distinctAttrCollector) String() string {
1124 return "distinctAttrCollector"

Callers 2

keyNameIteratorFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected