Not the answer you need?
Register and ask your own question!

Delete orphan databases in QAN and PMM System Summary using curl commands

BFPsyBFPsy EntrantCurrent User Role Novice
I have a dozens of old staging databases and their respective agents were removed via curl commands. Curl commands are more practical for my deployment/decommissioning tools. However, the databases still remain in the drop list for several dashboards including QAN and _PMM System Summary. What are the curl commands for removing them from QAN and _PMM System Summary?

Curl Commands used to de-register database in PMM
curl -X DELETE 'http://USER:[email protected]/prometheus/api/v1/series?match\[\]=\{instance="NODE-NAME"\}'
curl -s -X PUT -d '{"Datacenter":"dc1","Node":"NODE-NAME"}' 'http://USER:[email protected]/v1/catalog/deregister?dc=dc1'
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.