Prometheus exporter for Europa Park
Go to file
Amazed def25136c9
continuous-integration/drone Build is failing Details
init
2023-11-12 19:33:46 +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
Dockerfile init 2023-11-12 19:33:46 +01:00
README.md init 2023-11-12 19:33:46 +01:00
docker-compose.yml init 2023-11-12 19:33:46 +01:00
pylintrc init 2023-11-12 19:33:46 +01:00
pyproject.toml init 2023-11-12 19:33:46 +01:00

README.md

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