for windows user when you run the service add this argument
prometheus.exe --storage.tsdb.retention.time=365d