metrics

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2023 License: Apache-2.0, MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Row

type Row struct {
	Run       string
	Timestamp string
	Fields    map[string]json.Number // tag variation -> value
}

type Viewer

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

func NewViewer

func NewViewer(cfg *config.EnvConfig) (*Viewer, error)

func (*Viewer) GetData

func (v *Viewer) GetData(series string, tags []string, tagsWithValues map[string][]string) (map[string]Row, []string, []string, error)

func (*Viewer) GetMeasurements

func (v *Viewer) GetMeasurements(name string) ([]string, error)

func (*Viewer) GetTags

func (v *Viewer) GetTags(series string) ([]string, error)

func (*Viewer) GetTagsValues

func (v *Viewer) GetTagsValues(tags []string) (map[string][]string, error)

Jump to

Keyboard shortcuts

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