Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slack notification after 30min of scraping #60

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

andela-ookoro
Copy link
Contributor

Description

These changes add an enhancement to the project, it sends notifications to a targeted slack webhook when scraping takes longer than 30 minutes.
Two notifications would be sent, the first notification tells us that a scraper is running for more than 30 minutes, then another when the scarping has finished (this would help us know the total time scraping took).
I replaced the package python-memcached==1.58 with python3-memcached== 1.51 since the former did not work on python3 ( worked on local but failed on morph.io). Here is a link to this changes on morph

Fixes # (issue)
#44

Type of change

Enhancement

Screenshots

Notification that a scraper is running for more 30 minutes

scrapingrunning

Notification that a scraper ran for more 30 minutes

scraperfinished

@DavidLemayian
Copy link
Contributor

@andela-ookoro
Copy link
Contributor Author

Welcome @DavidLemayian, I have replaced the existing slack handler package with slack-logger.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants