Help with data retention for prometheus

What powers the data in prometheus in HA? (i’m using the prometheus integration and Grafana to view the data) however, I’m struggling to see why the data only seems to last ~28 days. I would like for this to be far greater, maybe 6-12 months… I’m using an SSD on a RPI4, so storage space shouldn’t be an issue.

Recorder says its 10 days by default so I’m not sure where this extended data is held and managed.

Many thanks
Rob