Documentation ¶
Index ¶
- type Configuration
- type Log
- type Operation
- type Reader
- func (r *Reader) FindTraceIDs(ctx context.Context, query *spanstore.TraceQueryParameters) (ret []model.TraceID, err error)
- func (r *Reader) FindTraces(ctx context.Context, query *spanstore.TraceQueryParameters) ([]*model.Trace, error)
- func (r *Reader) GetDependencies(endTs time.Time, lookback time.Duration) (ret []model.DependencyLink, err 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 Service
- type Span
- type SpanRef
- type Store
- type Writer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { // TCP host:port or Unix socket depending on Network. Host string `yaml:"host"` Username string `yaml:"username"` Password string `yaml:"password"` }
Configuration describes the options to customize the storage behavior
func (*Configuration) InitFromViper ¶
func (c *Configuration) InitFromViper(v *viper.Viper)
InitFromViper initializes the options struct with values from Viper
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) (ret []model.TraceID, err 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(endTs time.Time, lookback time.Duration) (ret []model.DependencyLink, err 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 Span ¶
type Span struct { ID model.SpanID TraceIDLow uint64 TraceIDHigh uint64 Operation *Operation OperationID uint Flags model.Flags StartTime time.Time Duration time.Duration Tags map[string]interface{} Service *Service ServiceID uint ProcessID string ProcessTags map[string]interface{} Warnings []string }
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.