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)
- [Bug] Unable to edit mail list of existing alert & reports HOT 5
- Improper Input Validation while creating dashboard and charts HOT 1
- Can not specify recipient for slack or email for Superset Reports HOT 8
- Problem Exporting Charts as Diagram HOT 4
- Cannot fetch schema list and table list in sqllab after setting values to table_cache_timeout and schema_cache_timeout HOT 1
- Customize loading spinner position and appereance HOT 1
- New permalinks retain previous permalink activeTab state HOT 1
- No table names shown in Dataset creation window / SQL Lab for Apache Kyuubi HOT 1
- Add button grayed out even tough all fields are filled HOT 5
- Unable to execute any Superset command in terminal HOT 1
- Datasource access HOT 6
- Typo in IBM DB2 image reference in README.md HOT 2
- Gauge chart interval bounds and colors not working properly when added to a dashboard HOT 1
- Dataset access HOT 3
- Method 405 not allowed for guest_token fetching HOT 6
- There was an error loading the schemas HOT 4
- UUID columns show up as NULL HOT 1
- 0.12.11 fails for helm install HOT 2
- sql query is different from chart results HOT 4
- Inconsistent spacing between viz gallery charts HOT 1
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.