Code Monkey home page Code Monkey logo

Comments (11)

dosubot avatar dosubot commented on June 17, 2024 2

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:

  1. Check the "ALERT_REPORTS" Feature Flag: Make sure it's enabled in your superset_config.py. This is essential for alert and report functionality.

    FEATURE_FLAGS = {
        "ALERT_REPORTS": True
    }
  2. 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),
        },
    }
  3. 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 and geckodriver; for Chrome, google-chrome-stable and chromedriver.

  4. 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]"
  5. 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


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.

dpgaspar avatar dpgaspar commented on June 17, 2024 2

seems like it's a geckodriver installation issue, take a look at: https://superset.apache.org/docs/configuration/alerts-reports#using-firefox

from superset.

dosubot avatar dosubot commented on June 17, 2024 1

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.

dpgaspar avatar dpgaspar commented on June 17, 2024 1

@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.

mujohiddin avatar mujohiddin commented on June 17, 2024 1

@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.

mujohiddin avatar mujohiddin commented on June 17, 2024

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.

mujohiddin avatar mujohiddin commented on June 17, 2024

photo_2024-05-08_11-48-01

from superset.

mujohiddin avatar mujohiddin commented on June 17, 2024

2. reports.scheduler

where is<< reports.scheduler file

from superset.

mujohiddin avatar mujohiddin commented on June 17, 2024

@dpgaspar
photo_2024-05-08_14-40-14

from superset.

mujohiddin avatar mujohiddin commented on June 17, 2024

@dpgaspar
Uploading photo_2024-05-08_14-41-01.jpg


from superset.

mujohiddin avatar mujohiddin commented on June 17, 2024

Hello sir, can you help me?
@mistercrunch,@villebro,@michael-s-molina,@betodealmeida,@john-bodley
@rusackas

from superset.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.