Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
API can register a set of endpoints in a router and handle them using the provided storage and query engine.
func NewAPI ¶
func NewAPI( reg *prometheus.Registry, qe *promql.Engine, c query.QueryableCreator, ) *API
NewAPI returns an initialized API type.
Click to show internal directories.
Click to hide internal directories.