-
Notifications
You must be signed in to change notification settings - Fork 4.5k
publish pipeline: send pager duty alert on worfklow failure #43420
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
publish pipeline: send pager duty alert on worfklow failure #43420
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @alafanechere and the rest of your teammates on |
6e8667f
to
c04bd98
Compare
c04bd98
to
fe4a9f6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alafanechere the code change LGTM, just one minor comment.
Question - is the Pagerduty integration key for our team? Does this mean we'll be paged any time a connector fails to publish? (Or is there some other place where we control the propagation of the GHA notification from Pagerduty to us?)
id: pager-duty | ||
uses: ./.github/actions/send-pager-duty-event | ||
with: | ||
integration_key: ${{ secrets.PAGER_DUTY_PUBLISH_FAILURES_INTEGRATION_KEY }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you put a comment in here saying which team's integration key this is? (I assume it's tooling's?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Integration keys are not per team, they are per serivce.
We have a Connector Publish Pipeline service.
I set up an "Events API V2" integration (basically a webhook) which our GH workflow POST to.
This creates an alert. Then how this alert is managed is handled in PD settings with escalation policies etc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay cool thanks for clarifying. I think it would be nice if the secret name had the service name in it, or if there was a comment saying exactly which service it's attached to. (I can basically tell by the name but would be nice not to have to guess!)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@clnoll I'll add a comment with an URL to the integration.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What
Closes https://github.com/airbytehq/airbyte-internal-issues/issues/9128
Closes https://github.com/airbytehq/airbyte-internal-issues/issues/8998
We want to send a pager duty alerts to a service when a publish workflow fails.
How
Bonus