Comments (10)
@mehmetcakmaz Please let me know if you were able to connect to Azure Cache.
from grafana-redis-datasource.
@mikhailredis You're right, that setting did it, hooray 👍
Now I've got a redis datasource up and running!
Thank you very much again for your help!
from grafana-redis-datasource.
@mehmetcakmaz Thank you for your interest in the plugin. You should be able to connect to any Redis instance. TLS connection is supported as well.
Please let me know if you have any troubles connecting to Azure Cache.
from grafana-redis-datasource.
Thank you for information @mikhailredis
I will try and notify you within 1 week
from grafana-redis-datasource.
Hi @mikhailredis,
currently, I'm trying the same and had no success so far. I'd like to connect to an instance of "redis cache for grafana". However, I have not been able to find a way of enabling SSL in the grafana plugin for redis.
The "Connection string" shown by Azure is:
"[instance-name].redis.cache.windows.net:6380,password=[base64 encoded password],ssl=True,abortConnect=False"
I've copied the base64 encoded password into the "password" field in the redis plugin and tried the following URLs with no success:
- [instance-name].redis.cache.windows.net:6380
- redis://[instance-name].redis.cache.windows.net:6380?ssl=true
- redis://[instance-name].redis.cache.windows.net:6380/?ssl=true
In all cases, the error message was getInstance error: read tcp [IP]:58070->[IP]:6380: read: connection reset by peer
after a timeout of 15-20 seconds.
I'd be happy to try out other URLs if you've got any ideas.
Thanks in advance, Tobias
from grafana-redis-datasource.
@tbraun-hk You don't need to use SSL in the URL, as it's enabled by default as I understand.
Did you provide an SSL authority certificate or enabled Skip to verify?
Meanwhile, I will try to connect to Azure and get back to you shortly.
from grafana-redis-datasource.
@mikhailredis thank you very much for the quick reply! Here's a screenshot of my attempt of configuring the plugin, I hope, this is useful to you?
However, I just realized that I'm not able to access the same redis instance using redis-cli. So it's most probably not an error in your plugin but rather an issue in my setup. I'll keep investigating and send an update once I got redis-cli up and running.
According to Azure documentation, TLS/SSL is not supported by redis-cli: https://docs.microsoft.com/de-de/azure/azure-cache-for-redis/cache-how-to-redis-cli-tool
from grafana-redis-datasource.
OK, here's a success message: After enabling unencrypted access to redis, the plugin is working flawlessly!
Still, it would be great to be able to use TLS encryption. Maybe there's a way?
I really appreciate the time and effort you're making in providing and supporting this plugin, @mehmetcakmaz. Thank you very much!
from grafana-redis-datasource.
@tbraun-hk Please try to switch "TLS Client Authentication" to enable and provide Authority certificate or enable 'Skip Verify'. Don't need to provide client certificate or key if you don't use them.
from grafana-redis-datasource.
@tbraun-hk You are very welcome! 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.