prometheus-windows
Prometheus in a Windows container
50K+
Prometheus is a systems and service monitoring system. It collects metrics from configured targets at given intervals, evaluates rule expressions, displays the results, and can trigger alerts if some condition is observed to be true.
The command line options with a dot need to be quoted in PowerShell:
mkdir C:\prom
copy prometheus.yml C:\prom\prometheus.yml
docker container run -d -p 9090:9090 `
-v "C:\prom\data:C:\prometheus" -v "C:\prom:C:\config" `
stefanscherer/prometheus-windows '-config.file=/config/prom.yml' `
'-storage.local.path=/prometheus' `
'-web.console.libraries=/etc/prometheus/console_libraries' `
'-web.console.templates=/etc/prometheus/consoles'
From my Mac:
$ mkdir -p data
$ docker run -d -p 9090:9090 \
-v C:$(pwd)/data:C:/prometheus -v C:$(pwd):C:/config \
stefanscherer/prometheus-windows -config.file=/config/prometheus.yml \
-storage.local.path=/prometheus \
-web.console.libraries=/etc/prometheus/console_libraries \
-web.console.templates=/etc/prometheus/consoles
$ open http://$(docker-machine ip windows):9090
See the Getting started guide to learn more about Prometheus.
See the script start-prometheus.ps1 and prom.yml to activate the Docker Metrics API and run Prometheus collecting it.
Content type
Image
Digest
Size
412.1 MB
Last updated
over 8 years ago
docker pull stefanscherer/prometheus-windows