github-maintenance-exporter

command module
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 29, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

README

github-maintenance-exporter

Version Build Status Coverage Status GoDoc Go Report Card

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL