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

Is there a way to add an Environment tag to nodes?

I see in the current iteration of PMM, at the top of the home dashboard in Grafana, there is an Environment dropdown. How exactly do I assign that tag to my nodes? I've done a bit of searching around the PMM2 Client setup documentation and haven't found anything, but I might have overlooked it. This feature would be extremely helpful for some alerting I'm setting up.

Best Answers

  • adivinhoadivinho Percona Percona Staff Role
    Accepted Answer
    Hi Jeff,
    Additional labels can be added during adding a service for monitoring.


  • Jeff_KJeff_K Current User Role Supporter
    Checking back in with this one, I was finally able to run the --custom-labels command. While it is extremely helpful for alerting, it doesn't seem to have effected the "Environment" dropdown in Grafana. Was there another way to make that work, or is it non-functional for the time being?
  • steve.hoffmansteve.hoffman Percona Percona Staff Role
    for that you need to use the --environment= that not working for you?
  • Jeff_KJeff_K Current User Role Supporter
    edited August 12
    I think I figured it out after looking in prometheus, the command was run as --custom-labels="Environment", should have been lowercase. do you know if --environment and --custom-labels="environment" would cause the same result?
  • adivinhoadivinho Percona Percona Staff Role
    It should some other reason for the missed environment parameter.
    I can't reproduced the issue with uppercase/lowercase names.

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.