Hi! I’ts really easy, but you have to set up InfluxDb and Grafana Complete guide on setting up Grafana/InfluxDB with Home assistant using official Docker images
A plus with this approach is that you can remove your Home Assistant history (purge keep days on recorder component), and only get the last week for debugging purpose.