Open gucharbon opened 6 years ago
Hi
Thanks for the Dockerfile, it's really useful. Please check out the fix on "fix-metric-name-templating" branch. If it works for you, I'll merge it to master.
It seems that your fix is working !
I will be templating dashboards all day long so I'll come by to you if I encounter any suspicious behavior that might have been introduced with this fix.
Thanks a lot, and do not hesitate to share this Dockerfile in the README for example. I will edit so that we have full control on which version is installed like in this build:
docker build --build-arg GRAFANA_VERSION="latest" --build-arg KAIROS_DATASOURCE_BRANCH="fix-metric-name-templating" -t grafana:kairosds-fix-metric-name-templating .
We're using Grafana to display metrics from KairosDB database.
We are using Grafana in Docker. Our Dockerfile is as follows:
KairosDB 1.2.1-1.20180331130457
Grafana v5.2.1 (2040f61)
We use variables to query metrics with regex:
We then created a chart panel repeating for each value of variable:
We filled the panel Metrics options as follow:
When selecting only one variable, everything is working fine:
But when we select more than 1 metric, all metrics are displayed on all charts (and only first one uses alias)
I didn't use Grafana before but I'm quite sure that I saw dashboards using such features and working fine ! Can you confirm that I'm not misusing any feature ? This issue is mentionned in How reference a multi-variable on alias #66