metrics

package
v0.0.0-...-3da42c7 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const ResolutionInf = "Inf"

Variables

This section is empty.

Functions

This section is empty.

Types

type Query

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

Query encapsulates a metrics query.

func NewQuery

func NewQuery(metricSelector string, entitySelector string, resolution string, mzSelector string) (*Query, error)

NewQuery creates a new Query based on the provided metric and entity selector, resolution and management zone selector or returns an error.

func (Query) GetEntitySelector

func (m Query) GetEntitySelector() string

GetEntitySelector returns the entity selector.

func (Query) GetMZSelector

func (m Query) GetMZSelector() string

GetMZSelector returns the management zone selector.

func (Query) GetMetricSelector

func (m Query) GetMetricSelector() string

GetMetricSelector returns the metric selector.

func (Query) GetResolution

func (m Query) GetResolution() string

GetResolution returns the resolution.

Jump to

Keyboard shortcuts

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