Comments (11)
To address the issue with the ALERT manager not working in your 6-month-old Superset installation, here are some targeted steps to help resolve the problem:
-
Check the
"ALERT_REPORTS"
Feature Flag: Make sure it's enabled in yoursuperset_config.py
. This is essential for alert and report functionality.FEATURE_FLAGS = { "ALERT_REPORTS": True }
-
Update Celery Beat Schedule: Ensure you have a schedule for
reports.scheduler
in your Celery configuration to enable alert and report scheduling.beat_schedule = { "reports.scheduler": { "task": "reports.scheduler", "schedule": crontab(minute="*", hour="*"), }, "reports.prune_log": { "task": "reports.prune_log", "schedule": crontab(minute=0, hour=0), }, }
-
Ensure Browser Installation for Screenshots: If not using a dev docker image, confirm a headless browser is installed for screenshot functionality. For Firefox, install
firefox-esr
andgeckodriver
; for Chrome,google-chrome-stable
andchromedriver
. -
SMTP or Slack Configuration: For notifications, ensure your SMTP settings or
SLACK_API_TOKEN
are correctly configured.-
Slack:
SLACK_API_TOKEN = "xoxb-your-slack-token"
-
Email:
SMTP_HOST = "smtp.sendgrid.net" SMTP_PORT = 2525 SMTP_USER = "your_user" SMTP_PASSWORD = "your_password" SMTP_MAIL_FROM = "[email protected]"
-
-
Review Celery Worker and Beat Logs: For further troubleshooting, examining the logs of your Celery worker and beat can provide additional insights into any errors or issues.
Ensure all configurations, especially those related to Celery, the headless browser, and notification settings, are correct. For more detailed guidance, refer to the Superset documentation.
If after following these steps you're still facing issues, providing more specific details about the errors or problems you're encountering, including any error messages, would be helpful for further diagnosis.
Details
Sources
- Issue with Alerts and Reports on 3.0.x
- docs/docs/configuration/alerts-reports.mdx
- RELEASING/release-notes-0-38/README.md
- CHANGELOG/3.0.0.md
- superset/commands/report/exceptions.py
- RELEASING/release-notes-1-0/README.md
About Dosu
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a ð if this is helpful and ð if it is irrelevant.
To continue the conversation, mention @dosu.
from superset.
seems like it's a geckodriver
installation issue, take a look at: https://superset.apache.org/docs/configuration/alerts-reports#using-firefox
from superset.
Hey there @mujohiddin, long time no see! ð Your issue feels like a bit of deja vu, but in the best way possible. I'm diving into your alert and reports conundrum as we speak and will have some insights for you shortly. Hang tight!
from superset.
@mujohiddin we use english as a common language on this repo, please add a detailed description for your issue and add server logs showing the alert and reports error(s)
from superset.
@dpgaspar Hi I have ALERT manager not working superset 6 months old version installed, is there any way to fix this? need to add more parameters? but it works in the new version @mistercrunch,@villebro,@michael-s-molina,@betodealmeida,@john-bodley
@rusackas
from superset.
Hi I have ALERT manager not working superset 6 months old version installed, is there any way to fix this? need to add more parameters?
@mistercrunch,@villebro,@michael-s-molina,@betodealmeida,@john-bodley
@rusackas
from superset.
from superset.
2. reports.scheduler
where is<< reports.scheduler file
from superset.
from superset.
from superset.
Hello sir, can you help me?
@mistercrunch,@villebro,@michael-s-molina,@betodealmeida,@john-bodley
@rusackas
from superset.
Related Issues (20)
- SPAM
- SPAM
- SPAM
- SPAM
- SPAM
- SPAM
- SPAM
- Default native filters values don't set correctly HOT 1
- Superset 4.0.1 - Exported CSV Contains Garbled Chinese Characters and Numbers HOT 4
- Metric datatype incorrect when swap dataset HOT 1
- It is proposed to add the feature of grouping like folders HOT 3
- TimeSeries Chart is showing Year for the January month HOT 5
- Storybook controls are out of date HOT 1
- D3_FORMATS PROBLEM HOT 5
- Request execution time jumps HOT 1
- Unexpected error HOT 2
- Failed to setup alerts and reports based pypi installation HOT 6
- 4.0.1: Alerting and reports does not take EMAIL RECIPIENTS* HOT 4
- Filter does not follow label HOT 1
- [SIP-138] Proposal for Slack file upload V2 integration for Alerts and Reports HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
ð Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ððð
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google â€ïž Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from superset.