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
Adjust New Relic Integration for the "Workflows and Destinations" update #29729
Comments
@zulipbot claim |
Hello @PieterCK! Thanks for your interest in Zulip! You have attempted to claim an issue without the label "help wanted". You can only claim and submit pull requests for issues with the help wanted label. If this is your first time here, we recommend reading our guide for new contributors before getting started. |
This will allow users to be notified of the updated Newrelic alertConditionNames payload. Fixes zulip#29729
This will allow users to be notified of the updated Newrelic alertConditionNames payload. Fixes zulip#29729 Co-authored-by: Giovanni Silva <no-reply@gsilva.pro>
Hello @zulip/server-integrations members, this issue was labeled with the "area: integrations" label, so you may want to check it out! |
Update: New discussion in this CZO for the new notification message design |
This will allow users to be notified of the updated Newrelic alertConditionNames payload. Fixes zulip#29729 Co-authored-by: Giovanni Silva <no-reply@gsilva.pro>
Add new features to the integration, updated media files such as logo and bot avatar, updated doc, updated test fixtures and deleted legacy codes. Fixes zulip#29729
Add new features to the integration, updated media files such as logo and bot avatar, updated doc, updated test fixtures and deleted legacy codes. Fixes zulip#29729 Co-authored-by: Giovanni Silva <no-reply@gsilva.pro>
Add new features to the integration, updated media files such as logo and bot avatar, updated doc, updated test fixtures and deleted legacy codes. Fixes zulip#29729 Co-authored-by: Giovanni Silva <no-reply@gsilva.pro>
Add new features to the integration, updated media files such as logo and bot avatar, updated doc, updated test fixtures and deleted legacy codes. Fixes zulip#29729 Co-authored-by: Giovanni Silva <no-reply@gsilva.pro>
Add new features to the integration, updated media files such as logo and bot avatar, updated doc, updated test fixtures and deleted legacy codes. Fixes zulip#29729 Co-authored-by: Giovanni Silva <no-reply@gsilva.pro>
Add new features to the integration, updated media files such as logo and bot avatar, updated doc, updated test fixtures and deleted legacy codes. Fixes zulip#29729 Co-authored-by: Giovanni Silva <no-reply@gsilva.pro>
Add new features to the integration, updated media files such as logo and bot avatar, updated doc, updated test fixtures and deleted legacy codes. Fixes zulip#29729 Co-authored-by: Giovanni Silva <no-reply@gsilva.pro>
Update: #29730 is ready for review! |
Add new features to the integration, updated media files such as logo and bot avatar, updated doc, updated test fixtures and deleted legacy codes. Fixes zulip#29729 Co-authored-by: Giovanni Silva <no-reply@gsilva.pro>
Add new features to the integration, updated media files such as logo and bot avatar, updated doc, updated test fixtures and deleted legacy codes. Fixes zulip#29729 Co-authored-by: Giovanni Silva <no-reply@gsilva.pro>
This is issue was opened to revive efforts to update New Relic integration in PR #27779. However, further investigations show that the scope of what should be updated in the New Relic integration is wider than what PR #27779 has attempted to fix. This Issue aims to report what is outdated in the current Zulip's New Relic integration and what are the new changes from New Relic
New Relic Update Discussion: Plan to upgrade Alert Notification Channels to Workflows and Destinations
In short, New Relic has deployed a new feature(UI) called "Workflows and Destinations" to replace the old "Alert notification channels" UI alongside upgrading their webhook payload.
Outdated Parts in Zulip New Relic Integration
Thankfully, the previous contributor to the New Relic integration has anticipated the "Workflow and Destination" update and thus has started implementing code blocks that handle some of the new updates. New Relic's migration guide has also outlined on how to adjust for the new changes. That said, here are a few outdated parts that I was able to find:
New Relic Icon
The current integration still uses the old New Relic icon
New Relic Icon in the current integration:
New Relic Icon from the official media asset:
The integration doc
the old documentation still navigates and shows the user to the old "Alert notification channels" UI. It's also missing a step of configuring the webhook payload in the new "Workflow" UI.
current doc
updated New Relic UI
Test fixtures & Payload
Some of the obvious changes to the payload was the
current_state
field that now uses different terminologies. Full changes to the payload are in the migration guide referenced abovealertConditionNames
mentioned in PR webhooks: Newrelic extract alert condition names from payload. #27779,priority
,title
,totalIncidents
,impactedEntities
, etc. The most recent New Relic payload looks like this:Whereas, the most recently updated test fixtures looks like this:
Test suites
To be expected from changes to the fixtures, the current tests are also outdated.
Legacy codes
As highlighted by the previous contributor, some parts of the code are now outdated and needs to be deleted. Some part of the code could also use the
UnsupportedWebhookEventTypeError
exception.Notification messages
As per mentioned in PR #27779, the current integration doesn't handle and display new alert conditions. With a plethora of new information available in the updated payload, a new notification format might also be needed.
PR #27779 has added conditions to adjust the code to support the new update. Notification rendered from the same payload:
Considering the payload supports multiple alert condition, I propose restructuring the notification message and moving it to the "details" section of the notification.
The text was updated successfully, but these errors were encountered: