Documentation ¶
Overview ¶
Copied from https://github.com/grafana/grafana/blob/main/pkg/tsdb/intervalv2/intervalv2.go We're copying this to not block ourselves from decoupling until the conversation here is resolved https://raintank-corp.slack.com/archives/C05QFJUHUQ6/p1700064431005089
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DefaultRes int64 = 1500
)
Functions ¶
func NewCalculator ¶
func NewCalculator(opts ...CalculatorOptions) *intervalCalculator
Types ¶
type Calculator ¶
type CalculatorOptions ¶
Click to show internal directories.
Click to hide internal directories.