Documentation ¶
Overview ¶
A simple Prometheus exporter that receives Github webhooks for issues and issue_comments events and parses the issue or comment body for special flags that indicate that a machine or site should be in maintenance mode.
Directories ¶
Path | Synopsis |
---|---|
Package handler contains all the code that parses an incoming web request (likely from github's web hooks).
|
Package handler contains all the code that parses an incoming web request (likely from github's web hooks). |
Package maintenancestate provides all the structures and methods necessary to keep track of what is and isn't in maintenance mode, and to save and load that information from disk.
|
Package maintenancestate provides all the structures and methods necessary to keep track of what is and isn't in maintenance mode, and to save and load that information from disk. |
Package metrics provides metrics used throughout the program, and also exports the maintenance status of every site and machine.
|
Package metrics provides metrics used throughout the program, and also exports the maintenance status of every site and machine. |
Click to show internal directories.
Click to hide internal directories.