Documentation ¶
Index ¶
- func Execute()
- func NewAlertmanagerClient(amURL *url.URL, httpConfig promconfig.HTTPClientConfig) *client.AlertmanagerAPI
- func NewAlertmanagerClientConfig() *promconfig.HTTPClientConfig
- func TypeMatcher(matcher labels.Matcher) *models.Matcher
- func TypeMatchers(matchers []labels.Matcher) models.Matchers
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAlertmanagerClient ¶
func NewAlertmanagerClient(amURL *url.URL, httpConfig promconfig.HTTPClientConfig) *client.AlertmanagerAPI
NewAlertmanagerClient initializes an alertmanager client with the given URL.
func NewAlertmanagerClientConfig ¶
func NewAlertmanagerClientConfig() *promconfig.HTTPClientConfig
NewAlertmanagerClientConfig initializes an alertmanager client config with the given URL.
func TypeMatcher ¶
TypeMatcher only valid for when you are going to add a silence.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.