-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Variables not working after upgrading to 5.1.0 #167
Comments
variables should work on both element as attribute. how there are some limitations regarding usage of the All or Mult select. can you use Grafana query inspector and past the real call here? |
Just tested with version 5.1.0 final and it works. |
Hi @pvmagacho-nde, Please check below the query inspection, some information such as webids I have masked but they are not relevant.
|
We've just upgraded the plugin on our server, and now almost all the dashboards are broken.
While trying to fix the issues, I discovered that the syntax has changed. Previously, we could use
$variable,
but now it seems we need to use${variable}
However, this syntax doesn't work for attributes, only elements. For example:
This works:
mypiafserver\${database}\${element}\child element ${somevariable};attribute x
This doesn't work:
mypiafserver\${database}\${element}\child element ${somevariable};attribute ${attributevariable}
This also doesn't work:
mypiafserver\${database}\${element}\child element ${somevariable};${attributevariable}
Is it a bug or something that we can fix/adjust? Also, is there a quick way to fix all the dashboards to adjust them to the new syntax or I will have to go one by one?
Obs: We are using the plugin to connect to the AF Server. I recall that someone else encountered a similar issue related to PI Point, which might be the same problem or a different one.
The text was updated successfully, but these errors were encountered: