Documentation ¶
Index ¶
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 RoutesFetch ¶
type RoutesFetch interface {
Routes(search models.ServiceSearch) (models.Routes, error)
}
type RoutesFetcher ¶
type RoutesFetcher struct {
// contains filtered or unexported fields
}
func NewRoutesFetcher ¶
func NewRoutesFetcher(consulConfig config.ConsulConfig) (*RoutesFetcher, error)
func (*RoutesFetcher) Routes ¶
func (f *RoutesFetcher) Routes(search models.ServiceSearch) (models.Routes, error)
Click to show internal directories.
Click to hide internal directories.