Bindu-yadav8 opened a new issue, #30304:
URL: https://github.com/apache/superset/issues/30304

   Hello Superset Community,
   
   I’m working on a project where we need to send alerts to a webhook (REST 
API) with alert details, rather than using the default email or Slack 
notification channels provided by Superset. I’m looking to customize Superset 
to achieve this functionality.
   
   Requirements
   Custom Notification Channel: Implement a webhook (REST API) to receive 
alerts.
   Alert Details: The webhook should receive detailed information about the 
alert.
   Customization Steps
   I understand that to implement this, modifications will likely be needed in 
the following areas:
   
   Notification Handler:
   
   Implement a custom notification handler to send alerts to the webhook.
   The class might need to extend **BaseNotifier** from 
**superset.tasks.notifications.base**.
   Configuration Files:
   
   Update superset_config.py to register the new notification handler.
   Ensure the new webhook handler is included in the notification listeners.
   Alerting Component:
   
   Modify or extend alert creation and management to support webhook 
notifications.
   
   Questions
   
   Files to Modify: What specific files and classes should be modified to 
integrate a custom webhook for alerts?
   Implementation Guidance: Could you provide guidance on implementing a custom 
notifier for webhooks? Any code snippets or references would be greatly 
appreciated.
   Testing: What’s the best way to test this integration to ensure that alerts 
are properly sent to the webhook?
   Any assistance or pointers to relevant documentation would be greatly 
appreciated!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to