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

Function NewStaticKind

pkg/traceql/ast.go:719–724  ·  view source on GitHub ↗
(k Kind)

Source from the content-addressed store, hash-verified

717}
718
719func NewStaticKind(k Kind) Static {
720 return Static{
721 Type: TypeKind,
722 valScalar: uint64(k),
723 }
724}
725
726func NewStaticIntArray(i []int) Static {
727 if i == nil {

Callers 15

mapSpanAttrFunction · 0.92
KeepGroupMethod · 0.92
flattenForSelectAllFunction · 0.92
mapSpanAttrFunction · 0.92
KeepGroupMethod · 0.92
CollectMethod · 0.92
flattenForSelectAllFunction · 0.92
mapSpanAttrFunction · 0.92
KeepGroupMethod · 0.92
TestSpansetFilterStaticsFunction · 0.85
TestStatic_MapKeyFunction · 0.85
TestStatic_EqualsFunction · 0.85

Calls

no outgoing calls

Tested by 8

flattenForSelectAllFunction · 0.74
flattenForSelectAllFunction · 0.74
TestSpansetFilterStaticsFunction · 0.68
TestStatic_MapKeyFunction · 0.68
TestStatic_EqualsFunction · 0.68
newStaticFunction · 0.68
TestStatic_AsAnyValueFunction · 0.68