mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-25 15:05:49 +03:00
[GH-ISSUE #303] Where do I get PD_VENDOR_KEY ? #229
Labels
No labels
bug
bug
bug
feature
good-first-issue
new integration
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/healthchecks#229
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @gsiddardha on GitHub (Nov 21, 2019).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/303
Hi,
I'm trying to setup healthchecks on my system with PD integration. This requires PD_VENDOR_KEY value to be set. I am not able to find any documentation on pagerduty website on how to get this value. Can someone please help point me to the right documentation?
@cuu508 commented on GitHub (Nov 21, 2019):
PD_VENDOR_KEY is needed for PagerDuty Connect, a mechanism for authorizing an integration to access user's PagerDuty account.
From https://www.pagerduty.com/docs/guides/pagerduty-connect/
I got my vendor key after filling out a "Become a Partner" form somewhere on their site (this was a while ago, not sure if the process would be the same now).
For private self-hosted installations becoming a partner might not be feasible, but it should be possible to use PagerDuty API without using PagerDuty Connect. In fact, this is how the integration used to work before I implemented PagerDuty Connect here:
github.com/healthchecks/healthchecks@96e00df0abIdeally Healthchecks would use the old way if PD_VENDOR_KEY is not set, and PagerDuty Connect if PD_VENDOR_KEY is set.
@gsiddardha commented on GitHub (Nov 21, 2019):
Got it.
Currently healthchecks also has a restriction on the key to be non-null, to allow PD integration.
enable_pdenable_pdtofalseifPD_VENDOR_KEYis NoneI guess I can manually add a Channel entry with
kind= pd as a hack for now. Please correct me if I'm wrong.@cuu508 commented on GitHub (Nov 21, 2019):
Ah yes, that would be a clever workaround for time being. When creating the Channel, the value field needs to look like so:
{"service_key": "api key here", "account": "name of the account for display"}@gsiddardha commented on GitHub (Nov 21, 2019):
cool. got it working. thanks for the support.
Any thoughts on how we can manage this better? instead of manually adding a channel for each new project.
@cuu508 commented on GitHub (Nov 22, 2019):
I'm working on supporting both the old onboarding flow where the user supplies an API key, and the PagerDuty Connect one (if PD_VENDOR_KEY is set).
@cuu508 commented on GitHub (Nov 22, 2019):
This is now implemented – you can now add a PagerDuty integration without having the
PD_VENDOR_KEYset.