A Prometheus exporter that exposes Efteling attraction waiting times as metrics.
It fetches the park's public API, converts the response into Prometheus text format, and serves it on /metrics.
A single gauge is exported:
| Metric | Description | Labels |
|---|---|---|
efteling_waiting_time |
Current waiting time for an attraction, in minutes | id, name, empire, type |
Attractions with no reported waiting time (e.g. closed) are omitted from the output.
Example:
# HELP efteling_waiting_time Waiting time for attractions
# TYPE efteling_waiting_time gauge
efteling_waiting_time{id="1", name="Baron 1898", empire="Ruigrijk", type="Attraction"} 25
Responses are cached in-memory for 30 seconds to avoid hammering the upstream API.
docker run -p 1337:1337 ghcr.io/pataar/efteling-node-exporterRequires a recent Rust toolchain (see mise.toml).
cargo runThe exporter listens on 0.0.0.0:1337. Metrics are available at http://localhost:1337/metrics.
| Variable | Default | Description |
|---|---|---|
RUST_LOG |
efteling_node_exporter=info |
Log level / filter, per tracing-subscriber EnvFilter syntax |
scrape_configs:
- job_name: efteling
static_configs:
- targets: ["localhost:1337"]cargo test # run tests
cargo clippy # lint
cargo fmt # format