Comments (4)
- I don't know of any plans to deprecate that behavior.
- Not overly familiar with this feature, if it's something that can be done to any variable, probably?
from grafana-redis-datasource.
Hi @sam30606 - [1]
is the correct response. When a JSON.GET is issued with the standardized JSON path syntax it returns the elements in a top-level array of serialized JSON values.
However for what you are looking for - you can use our older JSON path syntax (it's not standardized but should get down what you are looking for):
$ JSON.SET workStations $ '{"0":{"stationStatus":1}}'
OK
$ JSON.GET workStations .0.stationStatus
"1"
from grafana-redis-datasource.
See command docs for more details
from grafana-redis-datasource.
Wonderful! It worked, howeverr, is it possible for the older JSON path syntax to be deprecated in the future?"
I have another question. Should I open a new issue? It's about whether Redis plugin supports aliases similar to SELECT A as __text, B as __value in query of dashboard variable.
from grafana-redis-datasource.
Related Issues (20)
- [Question] About JSON parsing using GET command HOT 2
- TS.MRANGE GROUPBY / REDUCE HOT 1
- Redis and Grafan: JSONPath not returning JSON object correctly HOT 4
- Simple way to query all streams and retrieve length of stream HOT 2
- Add support for FT.SEARCH and FT.AGGREGATE HOT 1
- How to configure add Redis Datasource in values.yaml
- Unable to connect to Redis Datasource via Grafana Cloud HOT 3
- Unable to hide Redis query data HOT 2
- Is this still maintained? HOT 23
- CLIENT INFO fails HOT 5
- TS.MRANGE sometimes doesn't display key in the panel HOT 4
- TS.MRANGE works intermittently HOT 2
- Add FILTER_BY_VALUE support to TS.RANGE and TS.MRANGE
- Is it possible to return multiple options when querying an array of json, instead of a single stringified array, in the Grafana dashboard? HOT 3
- Provided dashboards broken in Grafana v10
- Grafana Live: Prevent panels from going blank during dashboard refresh
- docker image Ubuntu basic import redis-datasource-2.2.0
- High and Mediuma CVEs present in latest image (2.2.0)
- TS.MRANGE LATEST HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grafana-redis-datasource.