Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metric ¶ added in v1.34.4
Metric is the basic entity which should be return by datasource It represents single data point with full list of labels
type Querier ¶ added in v1.34.8
Querier interface wraps Query method which executes given query and returns list of Metrics as result
type Type ¶ added in v1.53.0
type Type struct {
// contains filtered or unexported fields
}
Type represents data source type
func NewGraphiteType ¶ added in v1.53.0
func NewGraphiteType() Type
NewGraphiteType returns graphite datasource type
func NewPrometheusType ¶ added in v1.53.0
func NewPrometheusType() Type
NewPrometheusType returns prometheus datasource type
func NewRawType ¶ added in v1.53.0
NewRawType returns datasource type from raw string without validation.
func (Type) MarshalYAML ¶ added in v1.53.0
MarshalYAML implements the yaml.Unmarshaler interface.
func (*Type) UnmarshalYAML ¶ added in v1.53.0
UnmarshalYAML implements the yaml.Unmarshaler interface.
func (*Type) ValidateExpr ¶ added in v1.53.0
ValidateExpr validates query expression with datasource ql.
type VMStorage ¶
type VMStorage struct {
// contains filtered or unexported fields
}
VMStorage represents vmstorage entity with ability to read and write metrics