Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrMaxSamplesExceeded ¶
func (ErrMaxSamplesExceeded) Error ¶
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 ¶
func (*Options) TotalSteps ¶
TotalSteps returns the total number of steps in the query, regardless of batching. This is useful for pre-allocating result slices.
type SampleTracker ¶
func NewSampleTracker ¶
func NewSampleTracker(maxSamples int) SampleTracker
Click to show internal directories.
Click to hide internal directories.