Documentation ¶
Index ¶
- type Store
- func (m *Store) FindTraces(query *spanstore.TraceQueryParameters) ([]*model.Trace, error)
- func (m *Store) GetDependencies(endTs time.Time, lookback time.Duration) ([]model.DependencyLink, error)
- func (m *Store) GetOperations(service string) ([]string, error)
- func (m *Store) GetServices() ([]string, error)
- func (m *Store) GetTrace(traceID model.TraceID) (*model.Trace, error)
- func (m *Store) WriteSpan(span *model.Span) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct { // TODO: make this a bounded memory store sync.RWMutex // contains filtered or unexported fields }
Store is an unbounded in-memory store of traces
func (*Store) FindTraces ¶
FindTraces returns all traces in the query parameters are satisfied by a trace's span
func (*Store) GetDependencies ¶
func (m *Store) GetDependencies(endTs time.Time, lookback time.Duration) ([]model.DependencyLink, error)
GetDependencies returns dependencies between services
func (*Store) GetOperations ¶
GetOperations returns the operations of a given service
func (*Store) GetServices ¶
GetServices returns a list of all known services
Click to show internal directories.
Click to hide internal directories.