https://github.com/kalverra/octometrics
Visualize and profile GitHub Actions PRs, Commits, Workflows, and Jobs
https://github.com/kalverra/octometrics
actions analytics ci metrics performance profiling telemetry workflows
Last synced: 2 months ago
JSON representation
Visualize and profile GitHub Actions PRs, Commits, Workflows, and Jobs
- Host: GitHub
- URL: https://github.com/kalverra/octometrics
- Owner: kalverra
- License: mit
- Created: 2025-03-27T23:25:51.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2026-03-05T21:01:26.000Z (4 months ago)
- Last Synced: 2026-03-06T00:35:31.414Z (4 months ago)
- Topics: actions, analytics, ci, metrics, performance, profiling, telemetry, workflows
- Language: Go
- Homepage:
- Size: 317 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Octometrics
A simple CLI tool to visualize and profile your GitHub Actions workflows. See all the processes that run as part of a PR, workflow, or job in a simple, interactive chart. It can also run [directly in your GitHub Actions flow](https://github.com/kalverra/octometrics-action), useful for debugging changes and performance issues.

## Run
Before running, make sure to provide GitHub API token, either through the `GITHUB_TOKEN` env var, or the `-t` flag.
```sh
# Install
go install github.com/kalverra/octometrics@latest
# Set your GITHUB_TOKEN to avoid rate limits
export GITHUB_TOKEN=$(gh auth token)
# Show help menu
octometrics -h
# To see all workflows run on all commits a part of this PR (including merge queue runs): https://github.com/kalverra/octometrics/pull/33
octometrics gather -o kalverra -r octometrics -p 33
# To see all workflows run on a specific commit: https://github.com/kalverra/octometrics/pull/33/changes/94ad3f7e2f45852a99791326847ea12c94b964dc
octometrics gather -o kalverra -r octometrics -c 94ad3f7e2f45852a99791326847ea12c94b964dc
# To see a specific workflow run: https://github.com/kalverra/octometrics/actions/runs/22918636165
octometrics gather -o kalverra -r octometrics -w 22918636165
# Use '-u' to force update local data if it already exists
octometrics gather -o kalverra -r octometrics -p 33 -u
# Compare two like-types in a handy view
octometrics compare -o kalverra -r octometrics --commits 51f80a592a2776c509e7a3c00951a241461ae4a6,169427803c7fa43a4b9403137a9834b9e7102825
```
## GitHub Action
Run `monitor` directly in your GitHub action and it will post performance data as a comment and summary to the action run. [See the octometrics-action](https://github.com/kalverra/octometrics-action).
## MCP Server
Start an MCP server to be used with AI agents.
```sh
octometrics mcp
```
## Contributing
```sh
just lint # Run linters
just test # Run tests
```
---
Highly inspired by the [workflow-telemetry-action](https://github.com/catchpoint/workflow-telemetry-action/tree/master).