[READ-ONLY] Mirror of https://github.com/jmrplens/ghchronicle. Collects every metric GitHub exposes about an account and keeps it with the d docs.jmrp.io/ghchronicle
README.md

Documentation #

Generated by site/scripts/gen-docs.mjs from the pages of the documentation site: do not edit this file. Change the page, and its Spanish twin beside it, then run make docs.

Page What it covers
Getting started What ghchronicle collects from GitHub, and the problem it exists to solve: traffic kept for fourteen days, an event feed of three hundred events and thirty days.
How it works What one ghchronicle sweep over the GitHub API does, in what order, and why each family of metrics has its own cadence.
Rate limits GitHub runs fifteen independent budgets; three of them matter here, and the brake is scaled to each.
Running it Ways to install ghchronicle: a page per operating system, five ways to get the binary running, and what each one is good for.
Configuration The ghchronicle configuration: one YAML file, its credentials, addresses and paths expandable from the environment, and what each top-level block is for.
Metrics The thirty-four families of GitHub metrics ghchronicle collects, what each one asks the API for, and the reason each exists.
Sinks Where to store GitHub metrics: eleven stores, what each one can and cannot answer, and the one property that decides between them.
Dashboards Five generated Grafana dashboards for GitHub metrics, one per store, and how to import each of them.
The one-shot card The ghchronicle card: a self-contained SVG of GitHub activity for a profile README, drawn from the same points the databases receive.
The command line The ghchronicle command line: the flags, what each one does, and which of them print something and exit.
Calling it from a program There is no Go library. What there is instead is one sweep, NDJSON on standard output, and good reasons not to call it in a loop.
Troubleshooting The messages that look like errors and are not, the ones that are, and the data that looks wrong and is not.
The test layers Three layers, only one of them free: the contract test of the bytes, the containerised stores that accept them, and the dashboards' own queries.

Beside them, in the repository rather than on the site: