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

Method getInstances

modules/livestore/live_store.go:730–738  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

728}
729
730func (s *LiveStore) getInstances() []*instance {
731 s.instancesMtx.RLock()
732 defer s.instancesMtx.RUnlock()
733 instances := make([]*instance, 0, len(s.instances))
734 for _, inst := range s.instances {
735 instances = append(instances, inst)
736 }
737 return instances
738}
739
740func (s *LiveStore) cutAllInstancesToWal() {
741 instances := s.getInstances()

Calls

no outgoing calls