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

Method CheckReady

modules/livestore/live_store.go:786–791  ·  view source on GitHub ↗

CheckReady returns nil if the live-store is ready to serve queries

(_ context.Context)

Source from the content-addressed store, hash-verified

784
785// CheckReady returns nil if the live-store is ready to serve queries
786func (s *LiveStore) CheckReady(_ context.Context) error {
787 if err := s.readyErr.Load(); err != nil {
788 return *err
789 }
790 return nil
791}
792
793// OnRingInstanceRegister implements ring.BasicLifecyclerDelegate
794func (s *LiveStore) OnRingInstanceRegister(_ *ring.BasicLifecycler, _ ring.Desc, _ bool, _ string, _ ring.InstanceDesc) (ring.InstanceState, ring.Tokens) {

Callers 2

PushBytesMethod · 0.95
withInstanceFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected