GitHub user dosubot[bot] added a comment to the discussion: Alerts and Reports 
configuration in Superset 5.0.0rc2

<!-- Answer -->
To set up Alerts and Reports in Apache Superset 5.0.0rc2 reliably, especially 
when facing issues with the Firefox driver, you can follow these steps:

1. **Use the Dev Docker Image**: The dev Docker image includes all necessary 
components like the Firefox headless browser. This can simplify the setup 
process.

2. **Feature Flag**: Ensure the `"ALERT_REPORTS"` feature flag is set to `True` 
in your `superset_config.py` or `superset_config_docker.py`.

3. **Celery Configuration**: Configure the `beat_schedule` in CeleryConfig for 
`reports.scheduler`.

4. **Notification Settings**: Set up either `SMTP_*` settings for emails or 
`SLACK_API_TOKEN` for Slack messages.

5. **Disable Dry-Run Mode**: Set `ALERT_REPORTS_NOTIFICATION_DRY_RUN` to 
`False` to ensure notifications are sent.

6. **Headless Browser**: If you choose to use Chrome instead of Firefox, set 
`WEBDRIVER_TYPE` to `"chrome"` in your configuration.

If you are using a non-dev Docker image, you can modify your 
`docker-compose.yml` to use a dev image for the worker container, which 
includes the headless browser, while using a stable release image for the 
`superset_app` container. This setup ensures all necessary components are 
available without additional configuration 
<sup>[[1]](https://github.com/apache/superset/blob/master/docs/docs/configuration/alerts-reports.mdx)</sup>.


<!-- Dosu Comment Footer -->
*To continue talking to [Dosu](https://dosu.dev), mention @dosu.*

---
<sup>Help Dosu learn! Give it feedback: [Great 
Response](https://app.dosu.dev/response-feedback/78f14343-7487-4e27-8ac5-3dbd47e85456?feedback_type=great_response)
 | [Irrelevant 
Answer](https://app.dosu.dev/response-feedback/78f14343-7487-4e27-8ac5-3dbd47e85456?feedback_type=irrelevant_answer)
 | [Incorrect 
Sources](https://app.dosu.dev/response-feedback/78f14343-7487-4e27-8ac5-3dbd47e85456?feedback_type=incorrect_sources)
 | [Too 
Verbose](https://app.dosu.dev/response-feedback/78f14343-7487-4e27-8ac5-3dbd47e85456?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/78f14343-7487-4e27-8ac5-3dbd47e85456?feedback_type=hallucination)
 | [Bug 
Report](https://app.dosu.dev/response-feedback/78f14343-7487-4e27-8ac5-3dbd47e85456?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/78f14343-7487-4e27-8ac5-3dbd47e85456?feedback_type=other)</sup>


GitHub link: 
https://github.com/apache/superset/discussions/33343#discussioncomment-13010359

----
This is an automatically sent email for notifications@superset.apache.org.
To unsubscribe, please send an email to: 
notifications-unsubscr...@superset.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to