Documentation ¶
Index ¶
- type AdminUser
- type Config
- type RetentionPolicy
- type Store
- func (in *Store) Aggregate(start, end time.Duration) ([]*appdash.AggregatedResult, error)
- func (in *Store) Close() error
- func (in *Store) Collect(id appdash.SpanID, anns ...appdash.Annotation) error
- func (in *Store) Trace(id appdash.ID) (*appdash.Trace, error)
- func (in *Store) Traces(opts appdash.TracesOpts) ([]*appdash.Trace, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { AdminUser AdminUser BuildInfo *influxDBServer.BuildInfo DefaultRP RetentionPolicy Mode mode Server *influxDBServer.Config // LogOutput, if specified, controls where all InfluxDB logs are written to. LogOutput io.Writer // MaxBatchSizeBytes specifies the maximum size (estimated memory usage) in // bytes that a batch may grow to become before being entirely dropped (and // inherently, trace data lost). This prevents any potential memory leak in // the case of an unresponsive or too slow InfluxDB server / pending flush // operation. // // The default value used by NewConfig is 128*1024*1024 (128 MB). MaxBatchSizeBytes int // BatchFlushInterval specifies the minimum interval between flush calls by // the background goroutine in order to flush point batches out to // InfluxDB. That is, after each batch flush the goroutine will sleep for // this amount of time to prevent CPU overutilization. // // The default value used by NewConfig is 500 * time.Millisecond. BatchFlushInterval time.Duration }
type RetentionPolicy ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func New ¶
New returns a new InfluxDB-backed store. It starts an in-process / embedded InfluxDB server.
Click to show internal directories.
Click to hide internal directories.