This is probably more for Prometheus than for OpenNebula
Prometheus doesn’t have a built-in “prune now” button for existing historical data… it manages old data automatically based on your retention settings.
From what I could investigate, by default Prometheus keep a 15 days track of data.
You can set a shorter retention policy, by configuring this on Prometheus, or you can manually delete the data (which is not recommendable).
So basically, the suggestion is to update your retention settings, and then restart prometheus to check if the old data has been cleaned up.