Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
LocalhostRepresentations = []string{"127.0.0.1", "localhost", "::1"}
)
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
Queryable storage.SampleAndChunkQueryable
QueryEngine *promql.Engine
// 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.
type GlobalURLOptions ¶
GlobalURLOptions contains fields used for deriving the global URL for local targets.
Click to show internal directories.
Click to hide internal directories.