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 ¶
GetEntitySelector returns the entity selector.
func (Query) GetMZSelector ¶
GetMZSelector returns the management zone selector.
func (Query) GetMetricSelector ¶
GetMetricSelector returns the metric selector.
func (Query) GetResolution ¶
GetResolution returns the resolution.
Click to show internal directories.
Click to hide internal directories.