How to add 2 configuration using "pmm-admin config"

Hi, 
I am using “pmm-admin config” configuration to add a “–client-name test-db” to percona. And its working fine.  Using:-
pmm-admin config --server pmm-server:80 --client-name test-db --force
pmm-admin check-networkpmm-admin add mysql:metrics --user test --password test --host 0.0.0.0pmm-admin add mysql:queries --user test --password test --host 0.0.0.0

Now I want to add 2nd with the name “–client-name test-db-NEW” its getting added to the percona, but its picking up the same configuration as of “–client-name test-db”. How can I add different SQL server under “–client-name test-db-NEW”. 

First, this question should have been created under Percona Monitoring and Management category.If I understand correctly there are two mysqld instances on the same host and you want to monitor both instances in PMM.Instance 1:

pmm-admin add mysql:metrics testinstance1 --user test1 --password test1 --host=127.0.0.1 --port 33061 <br>

Instance 2:

pmm-admin add mysql:metrics testinstance2 --user test2 --password test2 --host=127.0.0.1 --port 33062 


This assumes you are using PMM version 1.x.



yes

Did the suggestion work?