Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Opts ¶
type Opts struct { StoragePath string Logger log.Logger Reg prometheus.Registerer // engine config MaxSamples int QueryTimeout time.Duration QueryConcurrency int LookbackDelta time.Duration // api config CORSOrigin *regexp.Regexp }
Opts set options for prometheus adapter
func DefaultOpts ¶
DefaultOpts creates default options from storage path.
Click to show internal directories.
Click to hide internal directories.