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

How to use Grafana to create a group including some instances

seagenseagen ContributorInactive User Role Beginner
Could anyone please show me how to create a GROUP in PMM like Zabbix? We can put a class of instances together in zabbix. That make it easy to find the group of hosts. (ps: Grafana is so hard to me:(.. i'm reading its doc )

Thanks!

Comments

  • adaamadaam Contributor Current User Role Beginner
    You should read document of Prometheus, Grafana just interface to show graph.

    If your host has some rule can follow, you can click EDIT at top or graph, try change instance="$host" to instance=~"^db08.*", mean any host start with db08 will show in graph, it use regular expression.

    Reference: https://prometheus.io/docs/prometheus/latest/querying/examples/
  • seagenseagen Contributor Inactive User Role Beginner
    thanks adaam...I want the template like as follow..
  • adaamadaam Contributor Current User Role Beginner
    Not sure what your query
    but i think maybe can use like server=~"backend_0[12]"
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.