Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ScrapeManager ¶
type ScrapeManager interface { Start(guildId string, config *db.ScrapeConfig) Chan() chan ScrapeResult Restart(guildId string, config *db.ScrapeConfig) error Stop(guildId string, configName string) error }
func NewScrapeManager ¶
func NewScrapeManager(clientFactory prometheus.ClientFactory, logger logrus.FieldLogger) ScrapeManager
type ScrapeResult ¶
type ScrapeResult struct { GuildId string ScrapeConfigName string Alerts prometheus.Alerts }
Click to show internal directories.
Click to hide internal directories.