An open API service indexing awesome lists of open source software.

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.

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`. |