Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Frontend ¶
type Frontend struct {
// contains filtered or unexported fields
}
Frontend represents an HTTP prometheus interface
func New ¶
func New(cfg *Config, proberReg ProberRegistry) *Frontend
New creates a new HTTP frontend
type ProberRegistry ¶ added in v0.17.1
type ProberRegistry interface {
GetCollectors() []prometheus.Collector
}
ProberRegistry is the interface to a prober registry
Click to show internal directories.
Click to hide internal directories.