Proposal for a simple canary test
Open
@FedericoCeratto is already working on this.
Since May 25, 2020.
devops
- Dominant language
- Python
- Stars
- 61
- Forks
- 33
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 3
Description
Implement a simple end-to-end tester that runs continuously:
- Start probe-cli against
fastpath.ooni.nu/_secret_canary - Serve a lorem ipsum text on
/_secret_canary. If the client ipaddress is the same as the probe AND the current hour is even, serve a 1-line text to simulate blocking. - Wait for the process
probe-cli -> collectors -> fastpath -> event detector -> RSS/Explorerto finish - Scrape the result and check if the canary is flagged as blocked or unblocked
- Report the processing time and correctness to Prometheus. Alert on failure.
- Repeat every 10 mins.
This should be really simple to implement and yet give us early warnings in case of failures in the "critical path" of most of OONI.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.