Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/grafana/tempo
/ isUnsafe
Function
isUnsafe
pkg/traceql/enum_hints.go:28–35 ·
view source on GitHub ↗
(h string)
Source
from the content-addressed store, hash-verified
26
)
27
28
func
isUnsafe(h string) bool {
29
switch
h {
30
case
HintSample, HintTraceSample, HintSpanSample, HintExemplars, HintMostRecent:
31
return
false
32
default:
33
return
true
34
}
35
}
36
37
type
Hint
struct
{
38
Name string
Callers
1
Get
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected