Prometheus

Installation

1
2
3
4
5
6
7
8
9
mkdir -p /works/config/prometheus
chown -R 10001:10001 /data/prometheus/prometheus-data/
cp -a prometheus.yml prometheus.rules.yml /works/config/prometheus/

docker run -d --name prometheus \
--user 10001 -p 9090:9090 \
-v /works/config/prometheus:/etc/prometheus \
-v /data/prometheus/prometheus-data:/prometheus \
prom/prometheus:v2.47.1