when i purge the data of the machine which not moitored

hi ,when i purge the data of the machine which not moitored,
1.pmm-admin remove --all
2.pmm-admin purge mysql:metrics
3.pmm-admin purge linux:metrics
i got the error message
unable to dump request: net/http: request canceled while waiting for connection
Error purging mysql:metrics data for xxx-xxx: :Post http://admin:admin@xxx.xxx.xxx.xxx/prometheus/api/v1/admin/tsdb/clean_tombstones: net/http: request canceled (Client.Timeout exceeded while awaiting headers) resp:

unable to dump request: net/http: request canceled while waiting for connection
2019/01/04 18:06:13 Unsolicited response received on idle HTTP channel starting with “HTTP/1.1 204 No Content\r\nConnection: close\r\n\r\n”; err=
2019/01/04 18:06:23 request:
unable to dump request: net/http: request canceled while waiting for connection
Error purging linux:metrics data for xxx-xxx-xxx-xxx: :Post http://admin:admin@xx.xxx.xxx.xxx/prometheus/api/v1/admin/tsdb/delete_series?match={job=“linux”,instance=“xx-xxx-xxx-xxx”}: net/http: request canceled (Client.Timeout exceeded while awaiting headers) resp: :Post http://admin:admin@xx.xx.xx.xx/prometheus/api/v1/admin/tsdb/clean_tombstones: net/http: request canceled (Client.Timeout exceeded while awaiting headers) resp:
2019/01/04 18:06:23 Unsolicited response received on idle HTTP channel starting with “HTTP/1.1 204 No Content\r\nConnection: close\r\n\r\n”; err=

then the data fo the pmm-server grows bigger rapiddly . the result of the iotop

Hi mengweike

My apologies for the delay, your post was missed by our team. I don’t know the solution to your action, however I have asked a member of the PMM Development team to take a look at your error output and offer their perspective. Thanks for being patient with us!

Hi mengweike

https://www.percona.com/doc/percona-monitoring-and-management/pmm-admin.html#pmm-admin-rm means that you have removed all services locally as well as from PMM Server’s service discovery database (Consul). This means you can’t then try to purge records from Prometheus, at least not using pmm-admin

Instead you should do the purge, THEN remove operation. Let us know if this helps

Dear Mr. Coburn,

I installed PMM version 1.17.1. I removed and Purge data as following the note:
https://www.percona.com/doc/percona-monitoring-and-management/pmm-admin.html#pmm-admin-rm
Same as the owner of topic. And i got the same error.
Then i tried implement as your solution: Purge data -> remove services. Then i got the same error. Could you give me another solution?

Thank you for your support!
KhueNT