Hi Team,

I got a request to increase retention period of already installed/running 
Prometheus server from default to 60 days.
Platform: Windows Server
Execution: NSSM
Prometheus Start Batch FIle:
nssm.exe install Prometheus D:\Observability\Prometheus\prometheus.exe 
"--web.listen-address=:9191"
nssm.exe set Prometheus Description "Prometheus metrics collection and 
monitoring service."
nssm.exe start Prometheus
What I have done so far as a Windows Administrator:
a) nssm.exe restart Prometheus "--storage.tsdb.retention.time=60d". (In 
days)
b) nssm.exe restart Prometheus "--storage.tsdb.retention.time=5184000" ( In 
seconds)
c) Updated batch file and restarted the service
nssm.exe install Prometheus D:\Observability\Prometheus\prometheus.exe 
"--web.listen-address=:9191 --storage.tsdb.retention.time=60d"
nssm.exe set Prometheus Description "Prometheus metrics collection and 
monitoring service."
nssm.exe start Prometheus
But no changes in retention period
Please help me to fix the issue as early as possible.
Much Appreciated

-- 
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 prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/712b7c14-c76f-405e-b84f-c1b68247202cn%40googlegroups.com.

Reply via email to