Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/grafana/tempo
/ GetShardCount
Method
GetShardCount
tempodb/encoding/common/bloom.go:73–75 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
71
}
72
73
func
(b *ShardedBloomFilter) GetShardCount() int {
74
return
len(b.blooms)
75
}
76
77
// Test implements bloom.Test -> required only for testing
78
func
(b *ShardedBloomFilter) Test(traceID []byte) bool {
Callers
7
Complete
Method · 0.80
Complete
Method · 0.80
Complete
Method · 0.80
TestShardedBloom
Function · 0.80
TestShardedBloomFalsePositive
Function · 0.80
TestBloomShardCount
Function · 0.80
TestBloomFilterCompatibility
Function · 0.80
Calls
no outgoing calls
Tested by
4
TestShardedBloom
Function · 0.64
TestShardedBloomFalsePositive
Function · 0.64
TestBloomShardCount
Function · 0.64
TestBloomFilterCompatibility
Function · 0.64