Versions in this module Expand all Collapse all v0 v0.5.1 Jul 4, 2017 v0.5.0 Jul 1, 2017 Changes in this version + var ErrDurationAndTagQueryNotSupported = errors.New("Cannot query for duration and tags simultaneously") + var ErrDurationMinGreaterThanMax = errors.New("Duration Minimum is above Maximum") + var ErrMalformedRequestObject = errors.New("Malformed request object") + var ErrServiceNameNotSet = errors.New("Service Name must be set") + var ErrStartAndEndTimeNotSet = errors.New("Start and End Time must be set") + var ErrStartTimeMinGreaterThanMax = errors.New("Start Time Minimum is above Maximum") + type OperationNamesStorage struct + InsertStmt string + QueryStmt string + func NewOperationNamesStorage(session cassandra.Session, writeCacheTTL time.Duration, ...) *OperationNamesStorage + func (s *OperationNamesStorage) GetOperations(service string) ([]string, error) + func (s *OperationNamesStorage) Write(serviceName string, operationName string) error + type ServiceNamesStorage struct + InsertStmt string + QueryStmt string + func NewServiceNamesStorage(session cassandra.Session, writeCacheTTL time.Duration, ...) *ServiceNamesStorage + func (s *ServiceNamesStorage) GetServices() ([]string, error) + func (s *ServiceNamesStorage) Write(serviceName string) error + type SpanReader struct + func NewSpanReader(session cassandra.Session, metricsFactory metrics.Factory, logger *zap.Logger) *SpanReader + func (s *SpanReader) FindTraces(traceQuery *spanstore.TraceQueryParameters) ([]*model.Trace, error) + func (s *SpanReader) GetOperations(service string) ([]string, error) + func (s *SpanReader) GetServices() ([]string, error) + func (s *SpanReader) GetTrace(traceID model.TraceID) (*model.Trace, error) + type SpanWriter struct + func NewSpanWriter(session cassandra.Session, writeCacheTTL time.Duration, ...) *SpanWriter + func (s *SpanWriter) WriteSpan(span *model.Span) error