Documentation
¶
Overview ¶
Package introspection holds the implementation details for the "introspection" HTTP server that Clair hosts.
Index ¶
Constants ¶
View Source
const ( Stdout = "stdout" OTLP = "otlp" )
Valid backends for both metrics and traces.
View Source
const ( DefaultPromEndpoint = "/metrics" HealthEndpoint = "/healthz" ReadyEndpoint = "/readyz" )
Endpoints on the introspection HTTP server.
View Source
const DefaultIntrospectionAddr = ":8089"
DefaultIntrospectionAddr is the default address if not provided in the configuration.
View Source
const (
Jaeger = "jaeger"
)
Valid backends for traces.
View Source
const (
Prom = "prometheus"
)
Valid backends for metrics.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// Server embeds a http.Server and http.ServeMux.
// The http.Server will be configured with the ServeMux on successful
// initialization.
*http.Server
*http.ServeMux
// contains filtered or unexported fields
}
Server provides an HTTP server exposing Clair metrics and debugging information.
Click to show internal directories.
Click to hide internal directories.