We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ts.mrange returns no data when label has spaces within
Example command: ts.mrange - + WITHLABELS FILTER location="New Paltz" metric=feels_like mode=hourly redis-cli output:
ts.mrange - + WITHLABELS FILTER location="New Paltz" metric=feels_like mode=hourly
redis-cli
1) 1) "weather:New Paltz:hourly:feels_like" 2) 1) 1) "location" 2) "New Paltz" 2) 1) "metric" 2) "feels_like" 3) 1) "mode" 2) "hourly" 3) 1) 1) (integer) 1597770000000 2) 77.72 2) 1) (integer) 1597773600000 2) 77.92 ...
Grafana query:
{ "request": { "url": "api/ds/query", "method": "POST", "data": { "queries": [ { "command": "ts.mrange", "filter": "location=\"New Paltz\" metric=feels_like mode=hourly", "hide": false, "legend": "location", "query": "", "refId": "B", "type": "timeSeries", "value": "metric", "datasource": "Redis", "key": "", "datasourceId": 1, "intervalMs": 300000, "maxDataPoints": 1458, "orgId": 1 } ], "range": { "from": "2020-08-18T15:52:27.427Z", "to": "2020-08-24T00:00:00.000Z", "raw": { "from": "now-6h", "to": "2020-08-24T00:00:00.000Z" } }, "from": "1597765947427", "to": "1598227200000" } }, "response": { "results": { "B": { "refId": "B", "series": null, "tables": null, "dataframes": null } } } }
The text was updated successfully, but these errors were encountered:
mikhail-vl
Successfully merging a pull request may close this issue.
ts.mrange returns no data when label has spaces within
Example command:
ts.mrange - + WITHLABELS FILTER location="New Paltz" metric=feels_like mode=hourly
redis-cli
output:Grafana query:
The text was updated successfully, but these errors were encountered: