You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have questions, enhancement ideas or running into issues, please just open an issue on the repository: https://github.com/RedisTimeSeries/grafana-redis-datasource
Copy file name to clipboardExpand all lines: README.md
+11-37Lines changed: 11 additions & 37 deletions
Original file line number
Diff line number
Diff line change
@@ -36,46 +36,21 @@ Only Grafana 7.0 and later with a new plugin platform supported.
36
36
37
37
Datasource can connect to any Redis database. No special configuration is required.
38
38
39
-
### Do you need to build the datasource?
40
-
41
-
Yes. We are planning to add the datasource to Grafana repository as soon as version 1.0.0 is released, then it can be installed using
42
-
`grafana-cli` from registry. Please follow [**Build datasource**](#build-datasource).
43
-
44
-
## Getting Started
45
-
46
39
### Build datasource
47
40
48
41
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.
49
42
50
-
#### React frontend
51
-
52
-
- Install frontend dependencies
53
-
54
-
```bash
55
-
yarn install
56
-
```
57
-
58
-
- Build frontend
59
-
60
-
```bash
61
-
yarn build
62
-
```
63
-
64
-
#### Golang backend
65
-
66
-
- Install [Grafana plugin SDK for Go](https://grafana.com/docs/grafana/latest/developers/plugins/backend/grafana-plugin-sdk-for-go/) dependency
43
+
## Getting Started
67
44
68
-
```bash
69
-
go get -u github.com/grafana/grafana-plugin-sdk-go
70
-
```
45
+
### Install using `grafana-cli`
71
46
72
-
- Build backend plugin binaries for Linux, Windows and MacOS
47
+
Use the `grafana-cli` tool to install from the commandline:
73
48
74
49
```bash
75
-
mage -v
50
+
grafana-cli plugins install redis-datasource
76
51
```
77
52
78
-
### Run using docker-compose
53
+
### Run using `docker-compose`
79
54
80
55
Project provides `docker-compose.yml` to start Redis with RedisTimeSeries module and Grafana 7.0.
81
56
@@ -85,9 +60,7 @@ Project provides `docker-compose.yml` to start Redis with RedisTimeSeries module
85
60
docker-compose up
86
61
```
87
62
88
-
Open Grafana in your browser [http://localhost:3000](http://localhost:3000) and configure datasource
89
-
90
-
You can add as many datasources as you want to support multiple Redis databases.
63
+
Open Grafana in your browser [http://localhost:3000](http://localhost:3000) and configure datasource. You can add as many datasources as you want to support multiple Redis databases.
0 commit comments