Documentation ¶
Index ¶
- Constants
- type Config
- type Operation
- type Span
- type Store
- func (s Store) Close() error
- func (s Store) FindTraceIDs(ctx context.Context, query *spanstore.TraceQueryParameters) ([]model.TraceID, error)
- func (s Store) FindTraces(ctx context.Context, query *spanstore.TraceQueryParameters) ([]*model.Trace, error)
- func (s Store) GetOperations(ctx context.Context, query spanstore.OperationQueryParameters) ([]spanstore.Operation, error)
- func (s Store) GetServices(ctx context.Context) ([]string, error)
- func (s Store) GetTrace(ctx context.Context, tid model.TraceID) (*model.Trace, error)
- func (s Store) Setup() error
- func (s Store) WriteSpan(_ context.Context, span *model.Span) error
Constants ¶
View Source
const ( DefaultWorkspace = "tracing" DefaultSpans = "spans" DefaultOperations = "operations" DefaultRetention = 7 * 24 * 60 * 60 // 7 days DefaultWorkers = 3 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Workspace string `yaml:"workspace"` Spans string `yaml:"spans"` Operations string `yaml:"operations"` Workers uint64 `yaml:"workers"` Create bool `yaml:"create"` RetentionSecs int64 `yaml:"retention_secs"` }
func (*Config) SetDefaults ¶
func (c *Config) SetDefaults()
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (Store) FindTraceIDs ¶
func (Store) FindTraces ¶
func (Store) GetOperations ¶
Click to show internal directories.
Click to hide internal directories.