mirror of
https://github.com/dolphin-emu/analytics-ingest.git
synced 2026-01-31 01:15:21 +01:00
70d4ba68c96f56233b3e61ee77b934614f7256b2
analytics-ingest: Explicitly set Content-Type returned by the metrics endpoint to the expected value
Analytics ingest server
This small Python (bottle) server receives analytics events from Dolphin instances in the wild, deserializes them, and writes records to ClickHouse. It dynamically maintains the ClickHouse table schema in order to support some amount of schema agility, where new analytics fields can be added in the client without requiring server side changes.
Requirements
- Python 3 and uv
- ClickHouse
Setup
Using Nix
Note: this requires Nix Flakes to be enabled on your system.
nix run github:dolphin-emu/analytics-ingest
Without Nix
This project uses uv for dependency management.
# Install dependencies.
uv sync
# Run the server
uv run analytics-ingest
License
Licensed under the MIT License. See LICENSE.
Languages
Python
75.6%
Nix
24.4%