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

Function oneLevelUp

tempodb/encoding/vparquet5/block_autocomplete.go:871–882  ·  view source on GitHub ↗
(definitionLevel int)

Source from the content-addressed store, hash-verified

869}
870
871func oneLevelUp(definitionLevel int) int {
872 switch definitionLevel {
873 case DefinitionLevelResourceSpansILSSpanAttrs:
874 return DefinitionLevelResourceSpansILSSpan
875 case DefinitionLevelResourceAttrs:
876 return DefinitionLevelResourceSpans
877 case DefinitionLevelResourceSpansILSSpanEventAttrs: // should cover links as well
878 return DefinitionLevelResourceSpansILSSpanEvent
879
880 }
881 return definitionLevel
882}
883
884func createDistinctScopeIterator(
885 makeIter, makeNilIter makeIterFn,

Callers 2

keyNameIteratorFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected