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

Method Insert

modules/generator/registry/cardinality.go:89–93  ·  view source on GitHub ↗
(hash uint64)

Source from the content-addressed store, hash-verified

87}
88
89func (c *Cardinality) Insert(hash uint64) {
90 c.mu.Lock()
91 c.sketches[c.current].InsertHash(hash)
92 c.mu.Unlock()
93}
94
95// Estimate returns the estimated cardinality over the last staleTime window.
96func (c *Cardinality) Estimate() uint64 {

Callers 15

LimitMethod · 0.80
SanitizeMethod · 0.80
IncMethod · 0.80
ObserveWithExemplarMethod · 0.80
ObserveWithExemplarMethod · 0.80
OnAddMethod · 0.80

Calls

no outgoing calls