what should i do when i want to change the name of the pmm-client ?

the pmm-server and pmm-client is 1.1.1 .
when i changed the client_name in pmm.yml and restarted the monitoring service,it seems something does not go well.
what should i do?

pmm.yml is not designed to be editable by end use - options should be changed through pmm-admin runs.

Right now there is no option to change client name without loosing stored metrics as metrics belonging to the host are identified by its name. So you pretty much need to reinstall the client with new client name

This Feature will be implemented in https://jira.percona.com/browse/PMM-504