-
Notifications
You must be signed in to change notification settings - Fork 35
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
Tags query not removing single quote from template variable #102
Comments
Can you try by turning off the tags edit mode? |
Thanks for responding. I still get error after turning off the tags edit mode. When I check the value for [[app]] after clicking the red icon on top left, the value is still enclosed in single quotes. I want this as output metric_name='org.apache.camel:context=ws-cifdetail,name=*,type=routes#Load01' not this metric_name='org.apache.camel:context='ws-cifdetail',name=*,type=routes#Load01' Appreciate your help. Thanks in advance. Attaching the screen shots below. |
Hi @viv816 , A workaround could be to define a new "custom" variable in Grafana with nested |
Hi @jotak , Thanks. Is there any other way to solve this issue? Where can I find more help for this problem? |
... to prevent from adding quotes around resolved variables
Sorry for the late response, I have been quite busy these weeks. |
Thank you very much. I will try to pull the new image and inform you after my testing. |
+1 to this |
Hi,
Grafana Version= 4.1.2
Hawkular Version = 0.28.1.Final
I want to use variable value in tags QL as follows
Actual Query :
labels.app=$app AND metric_name='org.apache.camel:context=[[app]],name=*,type=routes#MaxProcessingTime'
Expected Result :
labels.app='demo-context' AND metric_name='org.apache.camel:context=demo-context,name=*,type=routes#MaxProcessingTime'
I want [[app]] to be replaced by demo-context instead of 'demo-context'. How do I do it?
The tags QL currently throws an error if it encounters single quote
The text was updated successfully, but these errors were encountered: