Removed incorrect end-of-support warning (#1131)

The PagerDuty Events API (v1), used by integrations with monitoring tools, will continue to be supported. There are currently no plans to deprecate, end support for or sunset it.

The end-of-support notice cited in the log message removed applies only to the *REST API* version 1, which PagerDuty will no longer support as of February 2018, but which Prometheus does not use.
This commit is contained in:
Demitri Morgan 2017-12-09 06:17:17 -08:00 committed by stuart nelson
parent af63c85161
commit b62cddd807
1 changed files with 0 additions and 1 deletions

View File

@ -461,7 +461,6 @@ type pagerDutyPayload struct {
}
func (n *PagerDuty) notifyV1(ctx context.Context, eventType, key string, tmpl func(string) string, details map[string]string, as ...*types.Alert) (bool, error) {
level.Info(n.logger).Log("msg", "PagerDuty v1 API will no longer be supported: https://v2.developer.pagerduty.com/v2/docs/api-v2-frequently-asked-questions")
msg := &pagerDutyMessage{
ServiceKey: string(n.conf.ServiceKey),