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

Method initLiveStoreRing

cmd/tempo/app/modules.go:156–158  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

154}
155
156func (t *App) initLiveStoreRing() (services.Service, error) {
157 return t.initReadRing(t.cfg.LiveStore.Ring.ToRingConfig(), ringLiveStore, ringLiveStore)
158}
159
160func (t *App) initReadRing(cfg ring.Config, name, key string) (*ring.Ring, error) {
161 ring, err := tempo_ring.New(cfg, name, key, prometheus.DefaultRegisterer)

Callers

nothing calls this directly

Calls 2

initReadRingMethod · 0.95
ToRingConfigMethod · 0.80

Tested by

no test coverage detected