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

Method Kind

pkg/traceql/ast.go:1006–1011  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1004}
1005
1006func (s Static) Kind() (Kind, bool) {
1007 if s.Type != TypeKind {
1008 return 0, false
1009 }
1010 return Kind(s.valScalar), true
1011}
1012
1013func (s Static) IntArray() ([]int, bool) {
1014 if s.Type != TypeIntArray {

Callers 15

EncodeToStringMethod · 0.95
KeepGroupMethod · 0.80
mapSpanAttrFunction · 0.80
mapResourceAttrFunction · 0.80
createIntPredicateFunction · 0.80
KeepGroupMethod · 0.80
KeepGroupMethod · 0.80
KeepGroupMethod · 0.80
callbackFunction · 0.80
KeepGroupMethod · 0.80

Calls 1

KindTypeAlias · 0.85

Tested by 5

rvCountFieldsFunction · 0.64
ensureAllFieldsPopulatedFunction · 0.64
isZeroValueFunction · 0.64
TestPqValueConversionFunction · 0.64
TestStatic_KindFunction · 0.64