File tree Expand file tree Collapse file tree 10 files changed +44
-17
lines changed
Expand file tree Collapse file tree 10 files changed +44
-17
lines changed Original file line number Diff line number Diff line change 77LICENSE
88yarn.lock
99.github
10+ Dockerfile
11+ .dockerignore
1012
1113# Folders
1214node_modules
Original file line number Diff line number Diff line change @@ -21,5 +21,6 @@ services:
2121 - GF_INSTALL_PLUGINS=redis-app
2222 volumes :
2323 - ./provisioning/plugins:/etc/grafana/provisioning/plugins
24+ - ./provisioning/datasources:/etc/grafana/provisioning/datasources
2425 # Uncomment to preserve Grafana configuration
2526 # - ./data:/var/lib/grafana
Original file line number Diff line number Diff line change @@ -27,8 +27,9 @@ services:
2727 # - GF_LOG_LEVEL=debug
2828 volumes :
2929 # Redis Data Source should be cloned and built
30- - ../grafana-redis-datasource/dist:/var/lib/grafana/plugins/redis-datasource
31- - ./dist:/var/lib/grafana/plugins/redis-app
32- - ./provisioning/plugins:/etc/grafana/provisioning/plugins
30+ - ../../grafana-redis-datasource/dist:/var/lib/grafana/plugins/redis-datasource
31+ - ../dist:/var/lib/grafana/plugins/redis-app
32+ - ../provisioning/datasources:/etc/grafana/provisioning/datasources
33+ - ../provisioning/plugins:/etc/grafana/provisioning/plugins
3334 # Uncomment to preserve Grafana configuration
3435 # - ./data:/var/lib/grafana
Original file line number Diff line number Diff line change 1+ apiVersion : 1
2+
3+ datasources :
4+ - name : Redis
5+ type : redis-datasource
6+ access : proxy
7+ orgId : 1
8+ isDefault : true
9+ version : 1
10+ url : redis://host.docker.internal:6379
11+ jsonData :
12+ poolSize : 5
13+ timeout : 10
14+ pingInterval : 0
15+ pipelineWindow : 0
16+ editable : true
Original file line number Diff line number Diff line change 3535 "type" : " panel" ,
3636 "id" : " redis-latency-panel" ,
3737 "name" : " Redis Latency" ,
38- "version" : " %VERSION% "
38+ "version" : " 1.1.0 "
3939 },
4040 {
4141 "type" : " panel" ,
Original file line number Diff line number Diff line change 8181 "name" : " Redis Application" ,
8282 "path" : " img/redis-app.png"
8383 },
84+ {
85+ "name" : " Redis CLI Dashboard" ,
86+ "path" : " img/redis-cli-dashboard.png"
87+ },
88+ {
89+ "name" : " RedisGears Dashboard" ,
90+ "path" : " img/redis-gears-dashboard.png"
91+ },
8492 {
8593 "name" : " Redis CLI Panel" ,
8694 "path" : " img/redis-cli-panel.png"
95+ },
96+ {
97+ "name" : " Redis Latency Panel" ,
98+ "path" : " img/redis-latency-panel-graph.png"
99+ },
100+ {
101+ "name" : " Max Memory Keys Panel" ,
102+ "path" : " img/redis-keys-panel.png"
87103 }
88104 ],
89105 "updated" : " %TODAY%" ,
Original file line number Diff line number Diff line change 99 "logos" : {
1010 "large" : " img/logo.svg" ,
1111 "small" : " img/logo.svg"
12- },
13- "screenshots" : [],
14- "updated" : " %TODAY%" ,
15- "version" : " %VERSION%"
12+ }
1613 },
1714 "name" : " Redis CLI" ,
1815 "type" : " panel"
Original file line number Diff line number Diff line change 99 "logos" : {
1010 "large" : " img/logo.svg" ,
1111 "small" : " img/logo.svg"
12- },
13- "updated" : " %TODAY%" ,
14- "version" : " %VERSION%"
12+ }
1513 },
1614 "name" : " RedisGears" ,
1715 "type" : " panel"
Original file line number Diff line number Diff line change 99 "logos" : {
1010 "large" : " img/logo.svg" ,
1111 "small" : " img/logo.svg"
12- },
13- "updated" : " %TODAY%" ,
14- "version" : " %VERSION%"
12+ }
1513 },
1614 "name" : " Redis Max Memory Keys" ,
1715 "type" : " panel"
Original file line number Diff line number Diff line change 99 "logos" : {
1010 "large" : " img/logo.svg" ,
1111 "small" : " img/logo.svg"
12- },
13- "updated" : " %TODAY%" ,
14- "version" : " %VERSION%"
12+ }
1513 },
1614 "name" : " Redis Latency" ,
1715 "type" : " panel"
You can’t perform that action at this time.
0 commit comments