Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/grafana/tempo
/ NewStaticDuration
Function
NewStaticDuration
pkg/traceql/ast.go:705–710 ·
view source on GitHub ↗
(d time.Duration)
Source
from the content-addressed store, hash-verified
703
}
704
705
func
NewStaticDuration(d time.Duration) Static {
706
return
Static{
707
Type: TypeDuration,
708
valScalar: uint64(d),
709
}
710
}
711
712
func
NewStaticStatus(s Status) Static {
713
return
Static{
Callers
15
mapSpanAttr
Function · 0.92
mapTraceAttr
Function · 0.92
KeepGroup
Method · 0.92
KeepGroup
Method · 0.92
KeepGroup
Method · 0.92
TestBackendBlockSearchFetchMetaData
Function · 0.92
flattenForSelectAll
Function · 0.92
mapSpanAttr
Function · 0.92
mapTraceAttr
Function · 0.92
KeepGroup
Method · 0.92
KeepGroup
Method · 0.92
KeepGroup
Method · 0.92
Calls
no outgoing calls
Tested by
15
TestBackendBlockSearchFetchMetaData
Function · 0.74
flattenForSelectAll
Function · 0.74
TestBackendBlockSearchFetchMetaData
Function · 0.74
flattenForSelectAll
Function · 0.74
TestBackendBlockSearchFetchMetaData
Function · 0.74
TestPipelines
Function · 0.68
TestSpansetFilterStatics
Function · 0.68
TestSpansetFilter_matches
Function · 0.68
TestScalarFilterEvaluate
Function · 0.68
TestBinaryOperationsWorkAcrossNumberTypes
Function · 0.68
TestSpansetExistence
Function · 0.68
BenchmarkBinOp
Function · 0.68