You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org
Development and deployment
Klaxon's source code is hosted on Gerrit, in the operations/software/klaxon repository. Changes are automatically tested and merged by CI, triggered by a C+2 review. For now, merged changes are also automatically deployed to production via
git pull on the next Puppet run (i.e., within 30 minutes).
Klaxon runs on the "alerting_host" role (i.e. alert1001/alert2001, where Icinga & Alertmanager run). It runs inside the gunicorn engine, fronted publicly by Apache. gunicorn is automatically restarted on any changes to code or configuration.
Klaxon uses two VictorOps APIs:
- For the front page, it fetches the list of recent incidents from the VictorOps v1 API.
- To send an alert, it calls the REST Endpoint, and also sends a message to #wikimedia-operations connect via logmsgbot.
API secrets are stored in the private Puppet repository, in