Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API interface {
Query(ctx context.Context, query string, ts time.Time) (model.Value, apiv1.Warnings, error)
}
API is a subset of Prometheus API interface. https://github.com/prometheus/client_golang/blob/803ef2a759d7caaaa0de58e3815f1be4c8b5a42a/api/prometheus/v1/api.go#L218-L251 This subset allows us to implement in our tests only the functions we use, while allowing compatibility with Prometheus API interface.
type Configuration ¶
Click to show internal directories.
Click to hide internal directories.