Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support PagerDuty v2 as part of Kapacitor v1.5 update #2786

Closed
5 tasks done
timhallinflux opened this issue Feb 8, 2018 · 7 comments
Closed
5 tasks done

Support PagerDuty v2 as part of Kapacitor v1.5 update #2786

timhallinflux opened this issue Feb 8, 2018 · 7 comments

Comments

@timhallinflux
Copy link
Contributor

timhallinflux commented Feb 8, 2018

Kapacitor v1.5 will support PagerDuty v2 interface. There are some changes required in terms of the parameters to configure this. Chronograf should support the PagerDuty v2 setup -- and prep for PagerDuty v1 deprecation by Kapacitor v1.6.

Please see: influxdata/kapacitor#1795

  • leverage the services endpoint to determine what configs are available
  • only show the configs that are returned from the services endpoint in alertTabs
  • add a pagerduty v2 config option to the Kapacitor config option of chronograf
  • add a deprecation warning to the UI for pagerduty v1 so users know they will need to update
  • update kapacitor dependency to v1.5
@timhallinflux timhallinflux changed the title Support PagerDutyv2 as part of Kapacitor v1.5 update Support PagerDuty v2 as part of Kapacitor v1.5 update Feb 8, 2018
@russorat russorat added this to the 1.4.x milestone Feb 8, 2018
@nhaugo
Copy link
Contributor

nhaugo commented Feb 16, 2018

@timhallinflux is pagerduty finally removing support for v1? If not I don't know why we would replace v1 this instead of just adding v2.

@russorat
Copy link
Contributor

@nhaugo

https://v2.developer.pagerduty.com/v2/docs/v1-rest-api-decommissioning-faq

WHAT’S HAPPENING?
On April 24, 2018, at 22:00 PDT (UTC+7), our v1 REST API is entering a decommissioning period. Starting on that date, you will no longer be able to generate v1 REST API keys, but the v1 REST API will remain operational.

On October 19, 2018, at 22:00 PDT (UTC+7), the v1 REST API will be decommissioned and no longer operational.

@russorat russorat added this to Proposed in 1.4.4 via automation Mar 1, 2018
@russorat russorat removed this from Proposed in 1.4.4 Mar 7, 2018
@russorat russorat removed this from the 1.4.x milestone Mar 26, 2018
@ischolten ischolten self-assigned this Mar 27, 2018
@russorat
Copy link
Contributor

1.5rc1 is out so lets test and verify with that: https://github.com/influxdata/kapacitor/releases/tag/v1.5.0-rc1

@russorat russorat removed the blocked label Apr 16, 2018
@russorat russorat added this to the 1.5.0 milestone Apr 17, 2018
@ischolten ischolten mentioned this issue Apr 23, 2018
4 tasks
@russorat
Copy link
Contributor

russorat commented Apr 24, 2018

  • the line should start with "PagerDuty v1 is being deprecated... "

image

@russorat
Copy link
Contributor

this is working. thanks!!!

@russorat
Copy link
Contributor

russorat commented May 9, 2018

in rc2, the service-key config has been updated to be routing-key. we will need to update this.

Also, let's display the error returned when trying to configure this:

image

also if you need to delete service-key from your config, you can use this: curl -XPOST http://localhost:9092/kapacitor/v1/config/pagerduty2/ -d '{"delete":["service-key"]}'

@russorat russorat reopened this May 9, 2018
@jaredscheib
Copy link
Contributor

I've fixed the error display bug (#3385) in #3386.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants