Replace transmission-exporter with homegrown Python exporter #283

Merged
eblume merged 2 commits from feature/transmission-exporter-python into main 2026-03-04 21:55:01 -08:00

2 commits

Author SHA1 Message Date
9c1b4a9a23 Address PR feedback: uv run --script, latest Python/Alpine, serve_forever
- Use #!/usr/bin/env -S uv run --script shebang with PEP 723 metadata
- Drop venv/pip multi-stage build; uv handles deps at runtime
- Upgrade to python:3.13-alpine3.23
- Unpin dependency versions (no upper bounds)
- Replace threading.Event().wait() with wsgiref serve_forever()

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 21:47:21 -08:00
22979572f9 Replace unmaintained transmission-exporter with homegrown Python exporter
Swap out docker.io/metalmatze/transmission-exporter:master for a minimal
Python exporter using prometheus_client and transmission-rpc with the
collect-on-scrape pattern. Same metric names so Grafana dashboards work
unchanged. Uses uv for dependency management in the container build.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 21:35:54 -08:00