https://github.com/qmk/qmk_metrics_aggregator
Aggregate metrics before writing them to carbon.
https://github.com/qmk/qmk_metrics_aggregator
Last synced: 12 months ago
JSON representation
Aggregate metrics before writing them to carbon.
- Host: GitHub
- URL: https://github.com/qmk/qmk_metrics_aggregator
- Owner: qmk
- License: mit
- Created: 2020-12-17T22:12:52.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-03-18T04:01:35.000Z (over 3 years ago)
- Last Synced: 2025-07-07T12:42:24.493Z (about 1 year ago)
- Language: Python
- Size: 5.86 KB
- Stars: 1
- Watchers: 13
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Graphite stats aggregator
I had trouble getting carbon aggregator to do what I needed, so I wrote this. It takes carbon metrics and aggregates over a time period.
## Deployment
Use docker to deploy this.
## Configuration
Configuration is done with environment variables.
| Var | Default | Description |
|-----|---------|-------------|
| `DEBUG` | `0` | Enable debug logging. Higher numbers = more verbose. |
| `LISTEN_HOST` | `0.0.0.0` | Host to listen on. |
| `LISTEN_PORT` | `2023` | Port to listen on. |
| `GRAPHITE_HOST` | `graphite` | Graphite host to send metrics to. |
| `GRAPHITE_RESOLUTION` | `60` | How often to send the metrics. Should match `CARBON_METRIC_INTERVAL` in `carbon.conf`. |