Hi All, I am new to Prometheus and noticed that the data in my Prometheus Server is defaulted to 15days and we would like to have the data for more than 1Y.
I have updated my configuration to , [Unit] Description=Prometheus Monitoring Wants=network-online.target After=network-online.target [Service] User=prometheus Group=prometheus Type=simple ExecStart=/usr/local/bin/prometheus \ --config.file /etc/prometheus/prometheus.yml \ --storage.tsdb.path /var/lib/prometheus/ \ --web.console.templates=/etc/prometheus/consoles \ --web.console.libraries=/etc/prometheus/console_libraries ExecReload=/bin/kill -HUP $MAINPID --storage.tsdb.retention.time=1y [Install] WantedBy=multi-user.target ~ ~ Then i restarted Prometheus Service in Ubuntu Navigated to status >> Runtime and Build Information i see Storage Retention as 15 Days Also, navigated to command line flags and i still see storage.tsdb.retention : 0s storage.tsdb.retention.size : 0s storage.tsdb.retention.time : 0s. Is there something that i am missing? Regards Aravind Viswanathan. -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/97c19971-72fa-47f0-a848-40be4b61441an%40googlegroups.com.

