Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/grafana/tempo
/ String
Method
String
pkg/drain/log_cluster.go:47–53 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
45
}
46
47
func
(c *LogCluster) String() string {
48
if
c.cache !=
""
{
49
return
c.cache
50
}
51
c.cache = c.Stringer(c.Tokens)
52
return
c.cache
53
}
54
55
func
(c *LogCluster) GetTokens() []string {
56
return
c.Tokens
Callers
7
TestLogCluster_String_CacheClearedOnIngest
Function · 0.95
TestDrain_Train_BasicPatternDetection
Function · 0.45
TestDrain_Train_MultipleClusters
Function · 0.45
TestDrain_Train_PatternEmergence
Function · 0.45
generateFeature
Function · 0.45
TestFixtures
Function · 0.45
main
Function · 0.45
Calls
no outgoing calls
Tested by
5
TestLogCluster_String_CacheClearedOnIngest
Function · 0.76
TestDrain_Train_BasicPatternDetection
Function · 0.36
TestDrain_Train_MultipleClusters
Function · 0.36
TestDrain_Train_PatternEmergence
Function · 0.36
TestFixtures
Function · 0.36