Documentation ¶
Index ¶
- type ReadMetricsDecorator
- func (m *ReadMetricsDecorator) FindTraces(traceQuery *spanstore.TraceQueryParameters) ([]*model.Trace, error)
- func (m *ReadMetricsDecorator) GetOperations(service string) ([]string, error)
- func (m *ReadMetricsDecorator) GetServices() ([]string, error)
- func (m *ReadMetricsDecorator) GetTrace(traceID model.TraceID) (*model.Trace, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReadMetricsDecorator ¶
type ReadMetricsDecorator struct {
// contains filtered or unexported fields
}
ReadMetricsDecorator wraps a spanstore.Reader and collects metrics around each read operation.
func NewReadMetricsDecorator ¶
func NewReadMetricsDecorator(spanReader spanstore.Reader, metricsFactory metrics.Factory) *ReadMetricsDecorator
NewReadMetricsDecorator returns a new ReadMetricsDecorator.
func (*ReadMetricsDecorator) FindTraces ¶
func (m *ReadMetricsDecorator) FindTraces(traceQuery *spanstore.TraceQueryParameters) ([]*model.Trace, error)
FindTraces implements spanstore.Reader#FindTraces
func (*ReadMetricsDecorator) GetOperations ¶
func (m *ReadMetricsDecorator) GetOperations(service string) ([]string, error)
GetOperations implements spanstore.Reader#GetOperations
func (*ReadMetricsDecorator) GetServices ¶
func (m *ReadMetricsDecorator) GetServices() ([]string, error)
GetServices implements spanstore.Reader#GetServices
Click to show internal directories.
Click to hide internal directories.