query

package
v0.0.0-...-097e6e9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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
}

func NestedOptionsForSubquery

func NestedOptionsForSubquery(opts *Options, step, queryRange, offset time.Duration) *Options

func (*Options) IsInstantQuery

func (o *Options) IsInstantQuery() bool

func (*Options) NumSteps

func (o *Options) NumSteps() int

func (*Options) WithEndTime

func (o *Options) WithEndTime(end time.Time) *Options

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL