I have setup harvest and its been working well, but when I am trying to see the historical data, afteer 28 days it goes blank.
I have checked the prometheus config and I have it set for 1y, or may be I am not chelking in the right place.
I edited /etc/systemd/system/prometheus.service
[Service]
User=prometheus
Group=prometheus
Type=simple
ExecStart=/usr/local/bin/prometheus
--config.file /etc/prometheus/prometheus.yml
--storage.tsdb.path /var/lib/prometheus/
--storage.tsdb.retention.time=2y
--web.console.templates=/etc/prometheus/consoles
--web.console.libraries=/etc/prometheus/console_libraries
is there a different place I need to check ?
also If I do the curl query (i made the retention to 2y and restarted prometheus) I still see 1y
curl -s http://localhost:9090/api/v1/status/runtimeinfo
{"status":"success","data":{"startTime":"2025-01-29T00:46:14.341118477Z","CWD":"/","reloadConfigSuccess":true,"lastConfigTime":"2025-01-29T00:46:18Z","corruptionCount":0,"goroutineCount":71,"GOMAXPROCS":48,"GOMEMLIMIT":9223372036854775807,"GOGC":"75","GODEBUG":"","storageRetention":"1y"}}