MCPcopy
hub / github.com/grafana/tempo / Add

Method Add

tempodb/encoding/common/bloom.go:54–57  ·  view source on GitHub ↗
(traceID []byte)

Source from the content-addressed store, hash-verified

52}
53
54func (b *ShardedBloomFilter) Add(traceID []byte) {
55 shardKey := ShardKeyForTraceID(traceID, len(b.blooms))
56 b.blooms[shardKey].Add(traceID)
57}
58
59// Marshal is a wrapper around bloom.WriteTo
60func (b *ShardedBloomFilter) Marshal() ([][]byte, error) {

Callers

nothing calls this directly

Calls 2

ShardKeyForTraceIDFunction · 0.85
AddMethod · 0.65

Tested by

no test coverage detected