Documentation
¶
Index ¶
- Variables
- type Options
- type Stats
- type Store
- func (s *Store) AppendLogs(_ context.Context, ld plog.Logs) (int64, string, error)
- func (s *Store) AppendTraces(_ context.Context, td ptrace.Traces) (int64, string, error)
- func (s *Store) Close() error
- func (s *Store) Flush(ctx context.Context) error
- func (s *Store) Maintain(ctx context.Context) error
- func (s *Store) Run(ctx context.Context) error
- func (s *Store) Stats() Stats
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrFull = errors.New("store buffer is full")
View Source
var ServiceDir = manifest.ServiceDir
ServiceDir is the manifest package's mapping, aliased for brevity.
Functions ¶
This section is empty.
Types ¶
type Stats ¶
type Stats struct {
RecordsAccepted int64
RecordsRejected int64
SpansAccepted int64
SpansRejected int64
Flushes int64
FilesWritten int64
BytesWritten int64
Services int
Compactions int64
FilesRetired int64
BytesOnDisk int64
PendingBatches int64
WriteErrors int64
// DiskCapExceeded is true while the open hour alone is over the disk cap and writes are refused.
DiskCapExceeded bool
}
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) AppendLogs ¶
func (*Store) AppendTraces ¶
Click to show internal directories.
Click to hide internal directories.