A bridge to scrape Prometheus metrics from self-registering services, over hyperdht (P2P).
3.7K
Docker images for https://gitlab.com/dcent-tech/dht-prometheus.
Minimal example:
docker run --network host --env DHT_PROM_SHARED_SECRET=<A 64 character hex string> --mount type=bind,source=/etc/prometheus/config/prometheus-dht-targets,destination=/home/dht-prometheus/prometheus
The intent is for the prometheus service to read its config from a read-only bind mount to /etc/prometheus/config, and for its config file to reference ./prometheus-dht-targets/targets.json
Note: /etc/prometheus/config/prometheus-dht-targets should be writable by the container's user.
Content type
Image
Digest
sha256:4a874ba8f…
Size
89 MB
Last updated
11 months ago
docker pull hdegroote/dht-prometheus