Documentation ¶
Overview ¶
Package postgres is a PostgreSQL storage.
Index ¶
- type Storage
- func (st *Storage) Dependencies() ([]server.Dependency, error)
- func (st *Storage) Operations(service string) ([]string, error)
- func (st *Storage) Purge(before time.Time) error
- func (st *Storage) QueryTraces(q server.Query) ([]tracer.RawTrace, error)
- func (st *Storage) Services() ([]string, error)
- func (st *Storage) SpanByID(id uint64) (tracer.RawSpan, error)
- func (st *Storage) Store(sp tracer.RawSpan) (err error)
- func (st *Storage) TraceByID(id uint64) (tracer.RawTrace, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
Storage is a PostgreSQL storage.
func (*Storage) Dependencies ¶
func (st *Storage) Dependencies() ([]server.Dependency, error)
Dependencies implements the server.Storage interface.
func (*Storage) Operations ¶
Spans implements the server.Storage interface.
func (*Storage) QueryTraces ¶
QueryTraces implements the server.Storage interface.
Click to show internal directories.
Click to hide internal directories.