You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Severin-S thank you for reporting the issue. If the string contains a number, then it's converted to a number for graphs. Unfortunately, I have not tried it for variables recently, using strings in variables for my projects.
I will check how to fix it and get back to you shortly.
@Severin-S the issue is fixed for Grafana 7. Grafana 8 returns result differently and works without the fix.
You can test using the latest Docker build: https://redisgrafana.github.io/development/images/
I am planning to release version 1.5.0 with the fix over the weekend.
Describe the bug
Trying to set a Grafana variable to the value of a Redis key fails with the following error if the value only contains digits.
Version
Grafana version 7.5.5
Redis plugin version 1.4.0
Steps to reproduce
SET tmp "1"
in RedisGET tmp
as querySetting
tmp
to1
instead of"1"
leads to the same error. When adding any non digit (e.g."1 "
) to the string, the error does not occur.Expected behavior
The Grafana variable should be set to the value of the Redis key regardless wether it only contains digits or not.
Screenshots
The text was updated successfully, but these errors were encountered: