File tree Expand file tree Collapse file tree 7 files changed +14
-20
lines changed Expand file tree Collapse file tree 7 files changed +14
-20
lines changed Original file line number Diff line number Diff line change @@ -71,10 +71,10 @@ mage -v
7171- Move distribution to Grafana's ` plugins/ ` folder
7272
7373``` bash
74- mv dist/ /var/lib/grafana/plugins/grafana- redis-datasource
74+ mv dist/ /var/lib/grafana/plugins/redis-datasource
7575```
7676
77- - Add ` grafana- redis-datasource` to allowed unsigned plugins
77+ - Add ` redis-datasource ` to allowed unsigned plugins
7878
7979``` bash
8080vi /etc/grafana/grafana.ini
@@ -85,7 +85,7 @@ vi /etc/grafana/grafana.ini
8585;enable_alpha = false
8686;app_tls_skip_verify_insecure = false
8787# Enter a comma-separated list of plugin identifiers to identify plugins that are allowed to be loaded even if they lack a valid signature.
88- allow_loading_unsigned_plugins = grafana- redis-datasource
88+ allow_loading_unsigned_plugins = redis-datasource
8989```
9090
9191- Verify that plugin registered
@@ -96,8 +96,8 @@ tail -100 /var/log/grafana/grafana.log
9696
9797```
9898t=2020-07-01T06:03:38+0000 lvl=info msg="Starting plugin search" logger=plugins
99- t=2020-07-01T06:03:38+0000 lvl=warn msg="Running an unsigned backend plugin" logger=plugins pluginID=grafana- redis-datasource pluginDir=/var/lib/grafana/plugins/grafana- redis-datasource
100- t=2020-07-01T06:03:38+0000 lvl=info msg="Registering plugin" logger=plugins name=grafana- redis-datasource
99+ t=2020-07-01T06:03:38+0000 lvl=warn msg="Running an unsigned backend plugin" logger=plugins pluginID=redis-datasource pluginDir=/var/lib/grafana/plugins/redis-datasource
100+ t=2020-07-01T06:03:38+0000 lvl=info msg="Registering plugin" logger=plugins name=redis-datasource
101101t=2020-07-01T06:03:38+0000 lvl=info msg="HTTP Server Listen" logger=http.server address=[::]:3000 protocol=http subUrl= socket=
102102```
103103
Original file line number Diff line number Diff line change 1- <div id =" title " align =" center " >
2- <h1>Grafana Redis Datasource</h1>
3- </div >
1+ # Grafana Redis Datasource
42
53![ Dashboard] ( https://github.com/RedisTimeSeries/grafana-redis-datasource/blob/master/images/redis-dashboard.png )
64
7- <div id =" badges " align =" center " >
8-
95[ ![ Grafana 7] ( https://img.shields.io/badge/Grafana-7-red )] ( https://www.grafana.com )
106[ ![ Radix] ( https://img.shields.io/badge/Radix-powered-blue )] ( https://github.com/mediocregopher/radix )
117[ ![ RedisTimeSeries] ( https://img.shields.io/badge/RedisTimeSeries-inspired-yellowgreen )] ( https://oss.redislabs.com/redistimeseries/ )
128[ ![ Redis Enterprise] ( https://img.shields.io/badge/Redis%20Enterprise-supported-orange )] ( https://redislabs.com/redis-enterprise/ )
139[ ![ Go Report Card] ( https://goreportcard.com/badge/github.com/RedisTimeSeries/grafana-redis-datasource )] ( https://goreportcard.com/report/github.com/RedisTimeSeries/grafana-redis-datasource )
1410
15- </div >
16-
1711## Summary
1812
1913- [ ** Introduction** ] ( #introduction )
Original file line number Diff line number Diff line change 13751375 "multi" : true ,
13761376 "name" : " redis" ,
13771377 "options" : [],
1378- "query" : " grafana- redis-datasource" ,
1378+ "query" : " redis-datasource" ,
13791379 "queryValue" : " " ,
13801380 "refresh" : 1 ,
13811381 "regex" : " " ,
Original file line number Diff line number Diff line change @@ -21,9 +21,9 @@ services:
2121 - GF_AUTH_ANONYMOUS_ENABLED=true
2222 - GF_AUTH_BASIC_ENABLED=false
2323 - GF_ENABLE_GZIP=true
24- - GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=grafana- redis-datasource
24+ - GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=redis-datasource
2525 volumes :
26- - ./dist:/var/lib/grafana/plugins/grafana- redis-datasource
26+ - ./dist:/var/lib/grafana/plugins/redis-datasource
2727 - ./provisioning:/etc/grafana/provisioning
2828 - ./dashboards:/var/lib/grafana/dashboards
2929 # Uncomment to preserve Grafana configuration
Original file line number Diff line number Diff line change 11{
2- "name" : " grafana- redis-datasource" ,
2+ "name" : " redis-datasource" ,
33 "version" : " 1.0.0" ,
44 "description" : " Grafana Redis Datasource" ,
55 "scripts" : {
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: 1
22
33datasources :
44 - name : Redis
5- type : grafana- redis-datasource
5+ type : redis-datasource
66 access : proxy
77 orgId : 1
88 isDefault : true
Original file line number Diff line number Diff line change 11{
22 "type" : " datasource" ,
3- "name" : " grafana-redis-datasource " ,
4- "id" : " grafana- redis-datasource" ,
3+ "name" : " Redis " ,
4+ "id" : " redis-datasource" ,
55 "metrics" : true ,
66 "backend" : true ,
77 "alerting" : true ,
8- "executable" : " gpx_grafana- redis-datasource" ,
8+ "executable" : " redis-datasource" ,
99 "info" : {
1010 "description" : " Grafana Redis Datasource" ,
1111 "author" : {
You can’t perform that action at this time.
0 commit comments