Versions in this module Expand all Collapse all v1 v1.65.0 Jan 7, 2025 v1.64.0 Dec 6, 2024 Changes in this version + type ReadMetricsDecorator struct + func NewReaderDecorator(spanReader spanstore.Reader, metricsFactory metrics.Factory) *ReadMetricsDecorator + func (m *ReadMetricsDecorator) FindTraceIDs(ctx context.Context, traceQuery *spanstore.TraceQueryParameters) ([]model.TraceID, error) + func (m *ReadMetricsDecorator) FindTraces(ctx context.Context, traceQuery *spanstore.TraceQueryParameters) ([]*model.Trace, error) + func (m *ReadMetricsDecorator) GetOperations(ctx context.Context, query spanstore.OperationQueryParameters) ([]spanstore.Operation, error) + func (m *ReadMetricsDecorator) GetServices(ctx context.Context) ([]string, error) + func (m *ReadMetricsDecorator) GetTrace(ctx context.Context, traceID model.TraceID) (*model.Trace, error) + type WriteMetrics struct + Attempts metrics.Counter + Errors metrics.Counter + Inserts metrics.Counter + LatencyErr metrics.Timer + LatencyOk metrics.Timer + func NewWriter(factory metrics.Factory, tableName string) *WriteMetrics + func (t *WriteMetrics) Emit(err error, latency time.Duration)