Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upError executing query: parse error at char 31: unknown escape sequence U+0020 ' ' #3010
Comments
This comment has been minimized.
This comment has been minimized.
|
Hi I think you need escape the Also if its erroring at |
gouthamve
added
the
kind/question
label
Aug 1, 2017
This comment has been minimized.
This comment has been minimized.
|
@gouthamve I create a grafana
This will mathch the label values of hrStorageDescr:
With this templating, My query on grafana is:
But this occurs error as above. |
This comment has been minimized.
This comment has been minimized.
|
Backslash needs to be escaped by another backslash. If grafana doesn't handle this correctly, open a bug report there. |
grobie
closed this
Nov 12, 2017
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 23, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |

Keleir commentedAug 1, 2017
•
edited
What did you do?
I have gathered some window system metrics via snmp_exporter, and got these value as following:
But when I use this metric to present a
Singlestatof disk usage with grafana, it occurs problem:The error info is:
My opinion is that the label value
hrStorageDescrcontains some special characters just likeC:\\ Label: Serial Number 40663d48which makes the promsql query crash.So I paste the query exprssion into prometheus's own query box, It also the same promble:
Environment
1.7.1