 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- func DecodeLogs(raw []byte) ([]model.Log, error)
- func DecodeSpanID(raw []byte) model.SpanID
- func DecodeSpanRefs(data []byte) ([]model.SpanRef, error)
- func DecodeTags(input []byte) ([]model.KeyValue, error)
- func DecodeTraceID(raw []byte) model.TraceID
- func EncodeInterval(duration time.Duration) pgtype.Interval
- func EncodeLogs(logs []model.Log) ([]byte, error)
- func EncodeSpanID(spanID model.SpanID) []byte
- func EncodeSpanKind(modelKind trace.SpanKind) sql.Spankind
- func EncodeSpanRefs(spanrefs []model.SpanRef) ([]byte, error)
- func EncodeTags(input []model.KeyValue) ([]byte, error)
- func EncodeTimestamp(t time.Time) pgtype.Timestamp
- func EncodeTraceID(traceID model.TraceID) []byte
- func TruncateTime(ts time.Time) time.Time
- type Reader
- func (r *Reader) FindTraceIDs(ctx context.Context, query *spanstore.TraceQueryParameters) ([]model.TraceID, error)
- func (r *Reader) FindTraces(ctx context.Context, query *spanstore.TraceQueryParameters) ([]*model.Trace, error)
- func (r *Reader) GetDependencies(ctx context.Context, endTs time.Time, lookback time.Duration) ([]model.DependencyLink, error)
- func (r *Reader) GetOperations(ctx context.Context, param spanstore.OperationQueryParameters) ([]spanstore.Operation, error)
- func (r *Reader) GetServices(ctx context.Context) ([]string, error)
- func (r *Reader) GetTrace(ctx context.Context, traceID model.TraceID) (*model.Trace, error)
 
- type Store
- type Writer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeSpanID ¶
DecodeSpanID decodes a span id form a byte slice.
func DecodeTraceID ¶
DecodeTraceID converts a slice of raw bytes into a trace id.
func EncodeSpanID ¶
EncodeSpanID encodes a span id into a slice of bytes.
func EncodeTraceID ¶
EncodeTraceID converts a trace id to a slice of raw bytes.
Types ¶
type Reader ¶
type Reader struct {
	// contains filtered or unexported fields
}
    Reader can query for and load traces from PostgreSQL v2.x.
func (*Reader) FindTraceIDs ¶
func (r *Reader) FindTraceIDs(ctx context.Context, query *spanstore.TraceQueryParameters) ([]model.TraceID, error)
FindTraceIDs retrieve traceIDs that match the traceQuery
func (*Reader) FindTraces ¶
func (r *Reader) FindTraces(ctx context.Context, query *spanstore.TraceQueryParameters) ([]*model.Trace, error)
FindTraces retrieve traces that match the traceQuery
func (*Reader) GetDependencies ¶
func (r *Reader) GetDependencies(ctx context.Context, endTs time.Time, lookback time.Duration) ([]model.DependencyLink, error)
GetDependencies returns all inter-service dependencies
func (*Reader) GetOperations ¶
func (r *Reader) GetOperations(ctx context.Context, param spanstore.OperationQueryParameters) ([]spanstore.Operation, error)
GetOperations returns all operations for a specific service traced by Jaeger
func (*Reader) GetServices ¶
GetServices returns all services traced by Jaeger
type Store ¶
type Store struct {
	// contains filtered or unexported fields
}
    func (*Store) DependencyReader ¶
func (s *Store) DependencyReader() dependencystore.Reader
func (*Store) SpanReader ¶
func (*Store) SpanWriter ¶
 Click to show internal directories. 
   Click to hide internal directories.