Comments (12)
It's something I'm developing. I'm just trying to figure out how to do something like "counts by day" which seems to be really freaking difficult or else I'm just using the wrong tools. I'm using RedisCloud for my redis hosting and I'm not sure I have access to the time series module, at least not without paying (I'm on the free plan right now). At least, the TS commands don't seem to work on my cli when I connect to the db.
from grafana-redis-datasource.
Here is the blog how I did something similar: https://redislabs.com/blog/how-to-use-the-new-redis-data-source-for-grafana-plug-in/
from grafana-redis-datasource.
Thanks for the blog post, I'll dig into this!
from grafana-redis-datasource.
Hello @lexicalunit, thank you for submitting the issue.
My initial analysis is that HGETALL returns each column as a string or number and Grafana expects time to be a time.Time
type. I have to take a closer look.
Is it an existing project or you are developing it? Hash is not the best data type to store time-series data. I would recommend taking a look at RedisTimeSeries which is fully supported in the plug-in.
Please let me know if RedisTimeSeries works. I will investigate and get back to you.
from grafana-redis-datasource.
@lexicalunit Redis Cloud has a RedisTimeSeries module available in AWS/Mumbai region. All modules are a part of Pro subscriptions in all regions.
You can add your data to RedisTimeSeries and then aggregate values per day: https://oss.redislabs.com/redistimeseries/commands/#tsrangetsrevrange
You can try using Docker: docker run -p 6379:6379 -it --rm redislabs/redistimeseries
.
I am still checking regarding the graph.
from grafana-redis-datasource.
@mikhailredis I don't see that option here: https://elements.heroku.com/addons/rediscloud#details
from grafana-redis-datasource.
@lexicalunit, I was talking about Redis Cloud Essential, which you can try for free https://redislabs.com/try-free/ and it's available in Oregon (us-west-2) region.
Please let me know if you have any questions.
from grafana-redis-datasource.
Ah, I was trying to stay within the ecosystem of heroku. Ty for the info tho!
from grafana-redis-datasource.
@lexicalunit RedisTimeSeries is available in Heroku if you want to give it a try.
Are you still developing your application using Hashes? In the upcoming version, the hash will be represented as fields instead of rows, to be able to stream it.
We can implement a special option to display hash as time-series if you are still interested.
from grafana-redis-datasource.
@mikhailredis I switched over to using a read-only account via a postgresql data source for a lot of the graphs I wanted to create. I'm still using redis for some metrics that I want to display though.
For the redis panels I just have to manually get many multiple values individually as their own series and then display them as a bar graph. For example:
For the postgresql panels I'm able to just have one single series in grafana that uses a GROUPY BY
to identify the individual lines dynamically based on the data itself. It's not clear to me that something like this would even be possible with redis:
from grafana-redis-datasource.
@lexicalunit You can use Hash to store metrics and display them as bar graphs in the upcoming version using HGETALL or HMGET commands.
Regarding the Postgres query, as I said before it can be done using RedisTimeSeries, which is now available in Heroku.
You can add time-series samples for data using TS.ADD command with labels and then display using TS.MRANGE command.
Please let me know if you have any questions.
from grafana-redis-datasource.
I am going ahead and close this issue. Let me know if you need anything else.
from grafana-redis-datasource.
Related Issues (20)
- 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
- How to query a value of key without bracket ? HOT 4
- 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
- Building
- OSS Redis Cluster: getInstance error: cannot decode redis array into string 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.