Documentation ¶
Index ¶
- func GetAlerts(ctx context.Context, repo db.Repo, clientFactory prometheus.ClientFactory, ...) (prometheus.Alerts, error)
- func GetInhibitions(ctx context.Context, configName string, guildId string, repo db.Repo) ([]string, error)
- func GetScrapeConfigs(ctx context.Context, repo db.Repo, guildId string) ([]db.ScrapeConfig, error)
- func InhibitAlert(ctx context.Context, configName string, guildId string, alertName string, ...) error
- func RemoveScrapeConfig(ctx context.Context, repo db.Repo, scrapeManager scraper.ScrapeManager, ...) error
- func UninhibitAlert(ctx context.Context, configName string, guildId string, alertName string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAlerts ¶
func GetAlerts(ctx context.Context, repo db.Repo, clientFactory prometheus.ClientFactory, guildId string, configName string) (prometheus.Alerts, error)
func GetInhibitions ¶
func GetScrapeConfigs ¶ added in v0.2.1
func InhibitAlert ¶
func RemoveScrapeConfig ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.