Long term statistics InfluxDB vs Statistic Card

Hey,
I want to save the state of my enteties longer then 10 days. The common solution is a influxdb which stores the values. But HA can’t access the data, so I need Grafana for it.
There is also the record and statistic card option, but I don’t get the difference. Is the new statistic card a long term storage so I do not need influxedb, or what is the best practise for a long term solution?