Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultFlushInterval = time.Second
View Source
const DefaultListenPort = 8090
View Source
const DefaultSessionWindow = 3 * time.Minute
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { SessionWindow time.Duration TimeSeries TimeSeries Store badger.Options Remote Remote ListenPort int }
type QueryConfig ¶
type QueryConfig struct {
Limits QueryLimits
}
type QueryLimits ¶
type Remote ¶
type Remote struct { Read RemoteConfig Write RemoteConfig Query QueryConfig }
type RemoteConfig ¶
type RemoteConfig struct { URL string Timeout time.Duration Headers map[string]string RetryOnRateLimit bool }
func (*RemoteConfig) Config ¶
func (r *RemoteConfig) Config() (*remote.ClientConfig, error)
type TimeSeries ¶
Click to show internal directories.
Click to hide internal directories.