Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/grafana/tempo
/ Bool
Method
Bool
pkg/traceql/ast.go:988–990 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
986
}
987
988
func
(s Static) Bool() (bool, bool) {
989
return
s.valScalar != 0, s.Type == TypeBoolean
990
}
991
992
func
(s Static) Duration() (time.Duration, bool) {
993
if
s.Type != TypeDuration {
Callers
15
AsAnyValue
Method · 0.95
append
Method · 0.95
EncodeToString
Method · 0.95
createBoolPredicate
Function · 0.80
createBoolPredicate
Function · 0.80
createBoolPredicate
Function · 0.80
pollTenantAndCreateIndex
Method · 0.80
cutOneInstanceToWal
Method · 0.80
SearchTagValuesV2
Method · 0.80
queryRangeCompleteBlock
Method · 0.80
FindTraceByID
Method · 0.80
SearchHandler
Method · 0.80
Calls
no outgoing calls
Tested by
1
TestStatic_Bool
Function · 0.64