Documentation
¶
Index ¶
- func Multi(ctx context.Context, url string, query MultiQueryConfig, ...) ([]prommodel.Value, error)
- func Product(ctx context.Context, query ProductQueryConfig, httpClient *http.Client) ([]prommodel.Value, error)
- func Single(ctx context.Context, url string, query QueryConfig, httpClient *http.Client) (prommodel.Value, error)
- type MetricDump
- type MetricInfo
- type MultiQueryConfig
- type ProductQueryConfig
- type QueryConfig
- type Timerange
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MetricDump ¶ added in v0.2.0
type MetricDump struct {
MetricInfo
Labels []string `json:"labels"`
}
func MetricsWithLabels ¶ added in v0.2.0
type MetricInfo ¶ added in v0.2.0
type MultiQueryConfig ¶
type ProductQueryConfig ¶
type ProductQueryConfig struct {
MultiQueryConfig
URLs []string
}
type QueryConfig ¶
Click to show internal directories.
Click to hide internal directories.