Not the answer you need?
Register and ask your own question!
Many Forum changes were implemented on Tue 22 Sep. Read about new Ranks, Scoring, and Reactions.
Email [email protected] for any comments or concerns.

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.
Tagged:

Best Answers

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


Answers

  • 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= flag...is 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.