README.md aktualisiert
This commit is contained in:
parent
80d00db791
commit
2f772cf804
|
@ -8,6 +8,7 @@ Prometheus docker Install
|
||||||
apt install curl</code>
|
apt install curl</code>
|
||||||
|
|
||||||
#Docker Installation
|
#Docker Installation
|
||||||
|
|
||||||
<code>curl -fsSL https://get.docker.com -o get-docker.sh
|
<code>curl -fsSL https://get.docker.com -o get-docker.sh
|
||||||
sh get-docker.sh</code>
|
sh get-docker.sh</code>
|
||||||
|
|
||||||
|
@ -15,6 +16,7 @@ sh get-docker.sh</code>
|
||||||
<code>docker volume create prometheus-data
|
<code>docker volume create prometheus-data
|
||||||
docker volume create prometheus-conf</code>
|
docker volume create prometheus-conf</code>
|
||||||
|
|
||||||
|
<code>
|
||||||
docker run \
|
docker run \
|
||||||
-p 9090:9090 \
|
-p 9090:9090 \
|
||||||
-v prometheus-data:/prometheus \
|
-v prometheus-data:/prometheus \
|
||||||
|
@ -23,6 +25,7 @@ docker run \
|
||||||
--restart=always
|
--restart=always
|
||||||
prom/prometheus:latest
|
prom/prometheus:latest
|
||||||
|
|
||||||
|
</code>
|
||||||
### Wer die Retention Time setzen möchte fügt folgendes hinzu. (Aufbewahrungszeit)
|
### Wer die Retention Time setzen möchte fügt folgendes hinzu. (Aufbewahrungszeit)
|
||||||
--storage.tsdb.retention.time=30d --config.file=/etc/prometheus/prometheus.yml
|
--storage.tsdb.retention.time=30d --config.file=/etc/prometheus/prometheus.yml
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue