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

Display hostname in alert emails

mthomasmthomas ContributorCurrent User Role Novice
Has anyone got email alerts to display the actual hostname - the name of the host/node that has triggered the alert.

So far I have tried labels and altering the alert name/description, but still not able to see the hostname within an alert email.

Comments

  • MykolaMykola Percona Percona Staff Role
    It very strange from my point of view, but grafana don't support such simple thing right now.
    BUT workaround exists!
    you can add instance name to the legend.
    1. Open dashboard
    2. Click on the title of needed graph with alert
    3. Select “Edit”
    4. Choose the "Metrics" tab
    5. add "" string inside "Legend format" field.
  • mthomasmthomas Contributor Current User Role Novice
    Great, thank you Mykola.
This discussion has been closed.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.