metric

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MergeResult

func MergeResult(results model.Matrix, timestamp string, groupByWithoutTimestamp []string, startT int64, endT int64, step int64, fields []string) *types.MetricMergedResult

Types

type Thanos

type Thanos struct {
	// contains filtered or unexported fields
}

func NewStorage

func NewStorage(cfg *monitorconfig.ThanosStorage) (*Thanos, error)

func (*Thanos) Query

func (s *Thanos) Query(query *monitor.MetricQuery) (*types.MetricMergedResult, error)

Jump to

Keyboard shortcuts

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