Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/senges/lichess-exporter
Lichess metrics exporter for Prometheus
https://github.com/senges/lichess-exporter
lichess-api prometheus-exporter
Last synced: 6 days ago
JSON representation
Lichess metrics exporter for Prometheus
- Host: GitHub
- URL: https://github.com/senges/lichess-exporter
- Owner: senges
- License: gpl-3.0
- Created: 2024-05-13T20:23:14.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-05-17T14:35:06.000Z (8 months ago)
- Last Synced: 2024-11-14T10:36:49.350Z (about 2 months ago)
- Topics: lichess-api, prometheus-exporter
- Language: Python
- Homepage:
- Size: 29.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lichess-exporter
Simple prometheus exporter for lichess user metrics.
**Example sample**
```
# HELP puzzle_daily_count puzzle_daily_count
# TYPE puzzle_daily_count gauge
puzzle_daily_count 12.0
# HELP ...
puzzle_weekly_count 22.0
puzzle_monthly_count 43.0
puzzle_total_count 938.0
perfs_rapid_games 31.0
perfs_rapid_rating 1117.0
perfs_rapid_rd 98.0
perfs_rapid_prog 65.0
perfs_puzzle_games 194.0
perfs_puzzle_rating 1651.0
perfs_puzzle_rd 80.0
perfs_puzzle_prog 0.0
```## Contribute
```
pipenv sync --dev
pipenv run -- black --color --diff --check .
pipenv run -- ruff check .
```Pre-push git hooks are available using [`lefthook install`](https://github.com/evilmartians/lefthook/tree/master).