Removing old host data

I’m testing grafana with prometheus as my source. I have a system that I renamed, and was getting old data I didn’t need. I tried backing up my prometheus database, removing the invalid data, and reimporting, but Grafana is still showing the old hostname in my variable query.

Any advice?

The data is stored in prometheus (metrics & label & label values), so you need to remove it there