VictoriaMetrics / grafana-datasource

Grafana Plugin for VictoriaMetrics

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WITH template cannot be added on not-yet saved dashboard

dg-nvm opened this issue · comments

If I create new dashboard and add WITH template, it will be saved without uid to datasource:

withTemplates": [
{
"expr": "commonLabels = {cloud=\"development\"}",
"uid": ""
}

This seems to not work and then template can't be found. If I save the dashboard and then create template, it will correctly fill uid:

{
"expr": "commonLabels={cloud=\"development\"}",
"uid": "test-dashboard-uid"
}

and WITH templates work.

The issue was fixed and included in the v0.5.0 release