A Prometheus exporter for ping statistics.
Install the published package using pip:
pip3 install pingdatThis project uses uv to manage dependencies and a local virtual environment. To
get started, clone the repository and install the dependencies with the following:
uv syncA Grafana dashboard is available as #(17922)[https://grafana.com/grafana/dashboards/17922].
Run the module and tell it which config file to use.
python3 -m pingdat --config pingdat.yamlIf you are using uv to manage the virtual environment, use the following:
uv run pingdat --config pingdat.yamlpingdat is available as a published Docker image. To run, use the latest version:
from Docker Hub:
docker container run --rm --publish 9056:9056 "jheddings/pingdat:latest"The configuration file is read from /opt/pingdat/pingdat.yaml and may be changed
with arguments to the container:
docker container run --rm --tty --publish 9056:9056 \
--volume "/path/to/host/config:/etc/pingdat" \
"jheddings/pingdat:latest" --config /etc/pingdat/pingdat.yamlA sample configuration is also provided for using docker compose. Similar to using
Docker directly, the configuration file can be provided on the host side. Then,
simply start the cluster normally:
docker compose upOr detached as a background process:
docker compose up --detachFor now, review the sample pingdat.yaml config file for a description of supported
configuration options.