Vonage / Grafana_Status_panel

A panel plugin for Grafana to monitor multiple parameters at once
Other
178 stars 108 forks source link

Template using as alias #79

Open Ferke85 opened 6 years ago

Ferke85 commented 6 years ago

Hi,

I would like to use Grafana templates as alias, but it looks like it is not supported. In this case I cannot use templating (repeat panel) and should I create all status panel manually? Anyway I am using Zabbix as datasource which is not supported fully, but I think the template usage is not related to Zabbix.

tomeram commented 6 years ago

I believe that this is a duplicate of #9

YehonatanVonage commented 6 years ago

Hi @Ferke85, Template usage is done by:

  1. Changing the "Repeat Panel" field in the "Templating" section in the "General" Tab.
  2. Insert the Template Variable to the "Panel Title" field in the "Options" tab, so each repeated panel will have unique name.
Ferke85 commented 6 years ago

Hi,

Unfortunately I cannot configure it properly. Here are some screenshots:

image image image image image

This is the result with the above settings: image

If I modify alias in the first panel from "$genunits" to "GEN1500 units" which is a possible value: image And the alias in the 11th panel from "$genunits" to "GEN1510 units": (because there is problem with this one) image

This is the result: image

It is similar to what I want, but it looks like I cannot configure it properly. Could you tell me what should I do?

Thanks in advance!

Ferke85 commented 6 years ago

Okay, it looks like the problem is that the setAlias is missing if I use Text as query mode instead of Metrics. So I will change the values of the query from text to number.