How to remove data of deleted agent

Description:

Hello

I am looking a clean way to remove an agent and its pmm server data.

Currently I dropped an agent and its services, but I still see it in the grafana graph interface

Thanks for your help

The data will automatically age away after the retention period, which defaults to 30 days.

Thanks for your reply.
In fact I want to remove it to reinstall it in a cleaner way, there is not a way to drop it manually and not waiting 30 days ?

You can re-add the host, and associated service using the same name as before and the data will get appended. Otherwise, no, there is no way currently in PMM to delete metric data.

Ok thank you for your reply