https://github.com/openaq/fluffy
A tool to monitor the OpenAQ platform fetch tasks.
https://github.com/openaq/fluffy
Last synced: 4 months ago
JSON representation
A tool to monitor the OpenAQ platform fetch tasks.
- Host: GitHub
- URL: https://github.com/openaq/fluffy
- Owner: openaq
- License: other
- Created: 2016-04-03T16:05:20.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-08-31T16:21:19.000Z (over 8 years ago)
- Last Synced: 2024-11-12T21:35:11.024Z (6 months ago)
- Language: JavaScript
- Size: 11.7 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
Fluffy
===This is an internal watchdog, run on a regular basis to ensure that the system is still fetching new data. If it notices any irregularities, it'll send emails and/or messages to the OpenAQ #alerts Slack channel.
Right now it's very basic, only making sure that fetches have come in within the last 40 minutes, but it can be expanded in the future.

Environment Variables
---| Name | Description | Default |
|---|---|---|
| BASE_URL | base URL to use for requests | https://api.openaq.org/v1/ |
| DIFF_THRESHOLD | minutes since last fetch over which to raise an alert | 40 |
| SMTP_SERVER | SMTP mail server address to send email | none |
| SMTP_USERNAME | SMTP username | none |
| SMTP_PASSWORD | SMTP password | none |
| SMTP_TO_ADDRESSES | Email addresses or comma separated list to send alerts to | none |
| SLACK_WEBHOOK_URL | Slack webhook url to send alerts to | none |