README.md aktualisiert

This commit is contained in:
M_Viper 2024-02-15 14:38:45 +00:00
parent 6a9b874553
commit 8a69c50a4c
1 changed files with 3 additions and 2 deletions

View File

@ -29,9 +29,10 @@ docker volume create prometheus-conf</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)
<code>--storage.tsdb.retention.time=30d --config.file=/etc/prometheus/prometheus.yml</code> <code>--storage.tsdb.retention.time=30d --config.file=/etc/prometheus/prometheus.yml</code>
<pre><span>Prometheus config (Prometheus.yml)
# my global config Prometheus config (Prometheus.yml)
<pre><span># my global config
global: global:
scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute. scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute. evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.