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

Struct DeterministicIDGenerator

modules/blockbuilder/util/id.go:25–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23var _ IDGenerator = (*DeterministicIDGenerator)(nil)
24
25type DeterministicIDGenerator struct {
26 buf []byte
27 seq *atomic.Uint64
28 hash hash.Hash
29}
30
31func NewDeterministicIDGenerator(tenantID string, seeds ...uint64) *DeterministicIDGenerator {
32 return &DeterministicIDGenerator{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected