Prometheus exporter for Europa Park
Go to file
Hipstercat a6541af7d2
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
Fix
2023-11-12 19:48:55 +01:00
src/europapark_exporter init 2023-11-12 19:33:46 +01:00
.drone.yml init 2023-11-12 19:33:46 +01:00
.gitignore init 2023-11-12 19:33:46 +01:00
docker-compose.yml init 2023-11-12 19:33:46 +01:00
Dockerfile Fix 2023-11-12 19:40:00 +01:00
MANIFEST.in Fix 2023-11-12 19:48:55 +01:00
pylintrc init 2023-11-12 19:33:46 +01:00
pyproject.toml Fix 2023-11-12 19:41:14 +01:00
README.md init 2023-11-12 19:33:46 +01:00

Prometheus Europa Park Exporter

This is an exporter that exposes information gathered from Europa Park for use by the Prometheus monitoring system.

Installation

Requires Python 3.11 or better.

Using docker

docker pull git.hipstercat.fr/hipstercat/europapark-exporter:main

Example: Display usage message:

docker run -it --rm git.hipstercat.fr/hipstercat/europapark-exporter:main --help

Example: Run the image with a mounted configuration file and published port:

docker run --init --name prometheus-europapark-exporter -d -p 127.0.0.1:9224:9224 git.hipstercat.fr/hipstercat/europapark-exporter:main

Prometheus Europa Park Exporter will now be reachable at http://localhost:9224/.

Usage

Visit http://localhost:9224/europapark

Prometheus Configuration

Example config for Europa Park exporter running on Prometheus host:

scrape_configs:
  - job_name: 'europapark'
    static_configs:
      - targets:
        - 192.168.1.2  # Europa Park exporter.
    metrics_path: /europapark
    scrape_interval: 1h