diff --git a/README.md b/README.md index 660f22d..c726b25 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,14 @@ Only Grafana 7.0 and later with a new plugin platform supported. Datasource can connect to any Redis database. No special configuration is required. +### How to connect to Redis logical database? + +Please use `/db-number` or `?db=db-number` in the datasource URL to specify the database number as defined in the [Schema](https://www.iana.org/assignments/uri-schemes/prov/redis). + +``` +redis://redis-server:6379/0 +``` + ### Build datasource To learn step by step how to build Redis Datasource from scratch and register in new or existing Grafana please take a look at [BUILD](https://github.com/RedisTimeSeries/grafana-redis-datasource/blob/master/BUILD.md) instructions.