pixelpwnr-exporter

Crates.iopixelpwnr-exporter
lib.rspixelpwnr-exporter
version0.1.1
created_at2025-10-16 12:52:27.60053+00
updated_at2025-10-16 14:56:32.361116+00
descriptionA simple PixelPwnr Prometheus metrics exporter
homepagehttps://git.ludd.ltu.se/freddo/pixelpwnr-exporter
repositoryhttps://git.ludd.ltu.se/freddo/pixelpwnr-exporter
max_upload_size
id1886002
size56,045
Fredrik Falk (Freddo3000)

documentation

README

pixelpwnr-exporter

Crates.io Version Crates.io Total Downloads GitLab Tag

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.

Downloads

The latest binary can be downloaded here or be fetched as a docker image here: registry.git.ludd.ltu.se/freddo/pixelpwnr-exporter.

Sample config

# 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"}

Commit count: 0

cargo fmt