I created the pmm-client as a container as follow:
docker run -d --name pmm-client -e PMM_AGENT_SERVER_ADDRESS=XXX.XXX.XXX.XXX:443 -e PMM_AGENT_SERVER_USERNAME=test -e PMM_AGENT_SERVER_PASSWORD=test123 -e PMM_AGENT_CONFIG_FILE=/tmp/pmm-agent.yaml -e PMM_AGENT_SERVER_INSECURE_TLS=1 -e PMM_AGENT_SETUP=1 --volumes-from pmm-client-data percona/pmm-client:2.35.0
But when I check my Grafana dashboard, the name isn’t helpful. It’s using the container id value.
Upon installation of the pmm-client docker, what parameter can I use to set the node name, so I can have it use the value “france_server” for instance.
Is there a way to also edit this node value too?
docker exec -it pmm-client /bin/bash
pmm-admin config --help
Just returns this:
–node-model=STRING Node model
–region=STRING Node region
–az=STRING Node availability zone
–agent-password=STRING Custom password for /metrics endpoint
–force Remove Node with that name with all dependent Services and Agents if one exist
–metrics-mode=“auto” Metrics flow mode for agents node-exporter, can be push - agent will push metrics, pull - server scrape metrics from agent or auto - chosen by server
–disable-collectors=DISABLE-COLLECTORS,… Comma-separated list of collector names to exclude from exporter
–custom-labels=KEY=VALUE,KEY=VALUE,… Custom user-assigned labels
–paths-base=STRING Base path where all binaries, tools and collectors of PMM client are located
–log-level=“warn” Logging level
–log-lines-count=1024 Take and return N most recent log lines in logs.zip for each: server, every configured exporters and agents
I can’t seem to find what I’m looking for, or is this only possible upon installation?