Custom labels and tags for host metrics

That’s the issue we’re running into, I believe they are correctly specified but they don’t show up on host metrics. So we ran these commands to setup the agents several months ago:
sudo yum install https://repo.percona.com/yum/percona-release-latest.noarch.rpm
sudo yum install pmm2-client
pmm-admin config --server-insecure-tls --server-url=https://myPMMserver
pmm-admin add mysql --username=user --password=pw --custom-labels=“environment=DEV,database=pricing”
However, now when I check the metrics explorer, only MySQL metrics have the environment and database custom labels. Host metric labels (like I’m looking at “node_filesystem_free_bytes” right now) do not have custom labels attached to them. I can provide screenshots if you need. I asked a similar question a few months ago and I was told to open a JIRA ticket: Question about PMM setup and Prometheus labels

1 Like