Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrMaxSamplesExceeded ¶ added in v0.6.0
func (ErrMaxSamplesExceeded) Error ¶ added in v0.6.0
func (e ErrMaxSamplesExceeded) Error() string
type Options ¶
type Options struct {
Start time.Time
End time.Time
Step time.Duration
StepsBatch int
LookbackDelta time.Duration
EnablePerStepStats bool
ExtLookbackDelta time.Duration
NoStepSubqueryIntervalFn func(time.Duration) time.Duration
EnableAnalysis bool
DecodingConcurrency int
SampleTracker SampleTracker // Tracks current samples in memory
}
func (*Options) IsInstantQuery ¶
func (*Options) NumStepsPerBatch ¶ added in v0.5.0
func (*Options) TotalSteps ¶ added in v0.5.0
TotalSteps returns the total number of steps in the query, regardless of batching. This is useful for pre-allocating result slices.
type SampleTracker ¶ added in v0.6.0
func NewSampleTracker ¶ added in v0.6.0
func NewSampleTracker(maxSamples int) SampleTracker
Click to show internal directories.
Click to hide internal directories.