Documentation ¶
Index ¶
- type MetricsFetcher
- type RouterStart
- type RoutesFetch
- type RoutesFetcher
- func (f *RoutesFetcher) Dropped() (int, error)
- func (f *RoutesFetcher) Pending() (int, error)
- func (f *RoutesFetcher) RouteHandler(w http.ResponseWriter, req *http.Request)
- func (f *RoutesFetcher) Routes() models.Routes
- func (f *RoutesFetcher) Run(signals <-chan os.Signal, ready chan<- struct{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetricsFetcher ¶
type MetricsFetcher struct {
// contains filtered or unexported fields
}
func NewMetricsFetcher ¶
func NewMetricsFetcher(scraper *scrapers.Scraper, routesFetcher RoutesFetch, externalExporters config.ExternalExporters) *MetricsFetcher
type RouterStart ¶ added in v1.0.0
type RoutesFetch ¶ added in v0.10.0
type RoutesFetcher ¶
type RoutesFetcher struct {
// contains filtered or unexported fields
}
func NewRoutesFetcher ¶
func NewRoutesFetcher(mbusClient mbus.Client, c *config.Config, reconnected <-chan mbus.Signal, healthCheck *healthchecks.HealthCheck) *RoutesFetcher
func (*RoutesFetcher) Dropped ¶ added in v1.0.0
func (f *RoutesFetcher) Dropped() (int, error)
func (*RoutesFetcher) Pending ¶ added in v1.0.0
func (f *RoutesFetcher) Pending() (int, error)
func (*RoutesFetcher) RouteHandler ¶ added in v1.4.0
func (f *RoutesFetcher) RouteHandler(w http.ResponseWriter, req *http.Request)
func (*RoutesFetcher) Routes ¶
func (f *RoutesFetcher) Routes() models.Routes
Click to show internal directories.
Click to hide internal directories.