| Crates.io | pixelpwnr-exporter |
| lib.rs | pixelpwnr-exporter |
| version | 0.1.1 |
| created_at | 2025-10-16 12:52:27.60053+00 |
| updated_at | 2025-10-16 14:56:32.361116+00 |
| description | A simple PixelPwnr Prometheus metrics exporter |
| homepage | https://git.ludd.ltu.se/freddo/pixelpwnr-exporter |
| repository | https://git.ludd.ltu.se/freddo/pixelpwnr-exporter |
| max_upload_size | |
| id | 1886002 |
| size | 56,045 |
This is a simply pixelpwnr prometheus exporter for the pixelpwnr PixelFlut server. It reads the produced stats file and exports it in a format digestible by Prometheus.
The latest binary can be downloaded
here
or be fetched as a docker image here: registry.git.ludd.ltu.se/freddo/pixelpwnr-exporter.
# Rocket.toml
[release]
# Supports rocket.rs configuration: https://rocket.rs/guide/v0.5/configuration/
address = "0.0.0.0"
port = 8000
# Extended with the following options:
stats_file = "pixelpwnr.yaml" # Path to PixelPwnr stats file
stats_prefix = "pixelpwnr" # Prefix for all metrics
[[stats_labels]]
# Labels applied to all metrics
instance = "bigscreen"
location = "entry_hall"
Or use environment variables...
ROCKET_address=0.0.0.0
ROCKET_PORT=8000
ROCKET_stats_file=pixelpwnr.yaml
ROCKET_stats_prefix=pixelpwnr
ROCKET_stats_labels={instance="bigscreen",location="entry_hall"}