Documentation
¶
Index ¶
- func DownsampleMatrix(matrix promql.Matrix, maxSamples int, avg bool) promql.Matrix
- func FormatDate(value int64) string
- func FormatDateRange(start int64, end int64) string
- func JoinUrl(base *url.URL, paths ...string) (*url.URL, error)
- func LabelProtosToLabels(labelPairs []prompb.Label) labels.Labels
- func NewCanceller() *canceller
- func ParseDuration(s string) (time.Duration, error)
- func ParseTime(s string) (time.Time, error)
- func TimeMilliseconds(t model.Time) int64
- type Canceller
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownsampleMatrix ¶ added in v0.0.3
func FormatDate ¶
func FormatDateRange ¶
func NewCanceller ¶
func NewCanceller() *canceller
func TimeMilliseconds ¶ added in v0.0.3
Types ¶
Click to show internal directories.
Click to hide internal directories.