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

Struct store

modules/generator/processor/servicegraphs/store/store.go:19–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17var _ Store = (*store)(nil)
18
19type store struct {
20 l *list.List
21 mtx sync.Mutex
22 m map[string]*list.Element
23 d map[droppedSpanSideKey]int64
24
25 onComplete Callback
26 onExpire Callback
27
28 ttl time.Duration
29 maxItems int
30
31 droppedSpanSideOverflowCounter prometheus.Counter
32}
33
34type droppedSpanSideKey struct {
35 key string

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected