Skip to content

Commit e88bce5

Browse files
authored
Update to Grafana 8.2.3 (#86)
1 parent 07fc739 commit e88bce5

File tree

14 files changed

+892
-1093
lines changed

14 files changed

+892
-1093
lines changed

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Change Log
22

3-
## 2.1.0 (IN PROGRESS)
3+
## 2.1.0 (2021-11-10)
44

55
### Features / Enhancements
66

@@ -10,7 +10,8 @@
1010
- Update to Grafana 8.1.4 (#81)
1111
- Add new command for Redis 6.2, Redis 7.0 (#82)
1212
- Add demo at https://demo.volkovlabs.io (#83)
13-
- Update Redis 7.0 commands help
13+
- Update Redis 7.0 commands help (#85)
14+
- Update to Grafana 8.2.3 (#86)
1415

1516
## 2.0.1 (2021-07-07)
1617

config/jest-setup.ts

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,3 @@ import Adapter from 'enzyme-adapter-react-16';
55
* Configure for React
66
*/
77
configure({ adapter: new Adapter() });
8-
9-
/**
10-
* Workaround for Grafana 8.0.3
11-
*/
12-
Object.defineProperty(global, 'matchMedia', {
13-
writable: true,
14-
value: jest.fn().mockImplementation((query) => ({
15-
matches: false,
16-
media: query,
17-
onchange: null,
18-
addEventListener: jest.fn(),
19-
removeEventListener: jest.fn(),
20-
dispatchEvent: jest.fn(),
21-
})),
22-
});

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
"author": "RedisGrafana",
33
"description": "Redis Application for Grafana",
44
"devDependencies": {
5-
"@grafana/data": "8.1.4",
6-
"@grafana/runtime": "8.1.4",
7-
"@grafana/toolkit": "8.1.4",
8-
"@grafana/ui": "8.1.4",
9-
"@monaco-editor/react": "^4.2.2",
10-
"@types/enzyme": "^3.10.9",
5+
"@grafana/data": "8.2.3",
6+
"@grafana/runtime": "8.2.3",
7+
"@grafana/toolkit": "8.2.3",
8+
"@grafana/ui": "8.2.3",
9+
"@monaco-editor/react": "^4.3.1",
10+
"@types/enzyme": "^3.10.10",
1111
"@types/enzyme-adapter-react-16": "^1.0.6",
1212
"emotion": "11.0.0",
1313
"enzyme": "^3.11.0",

src/dashboards/redis-cli.json

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"type": "grafana",
66
"id": "grafana",
77
"name": "Grafana",
8-
"version": "8.0.6"
8+
"version": "8.2.3"
99
},
1010
{
1111
"type": "panel",
@@ -17,7 +17,7 @@
1717
"type": "datasource",
1818
"id": "redis-datasource",
1919
"name": "Redis",
20-
"version": "1.5.0"
20+
"version": "2.0.0"
2121
},
2222
{
2323
"type": "panel",
@@ -53,15 +53,22 @@
5353
"hide": true,
5454
"iconColor": "rgba(0, 211, 255, 1)",
5555
"name": "Annotations & Alerts",
56+
"target": {
57+
"limit": 100,
58+
"matchAny": false,
59+
"tags": [],
60+
"type": "dashboard"
61+
},
5662
"type": "dashboard"
5763
}
5864
]
5965
},
6066
"editable": true,
67+
"fiscalYearStartMonth": 0,
6168
"gnetId": null,
6269
"graphTooltip": 0,
6370
"id": null,
64-
"iteration": 1626489484261,
71+
"iteration": 1636563149746,
6572
"links": [
6673
{
6774
"asDropdown": false,
@@ -76,6 +83,7 @@
7683
"url": ""
7784
}
7885
],
86+
"liveNow": false,
7987
"panels": [
8088
{
8189
"datasource": "$redis",
@@ -320,7 +328,7 @@
320328
"text": {},
321329
"textMode": "auto"
322330
},
323-
"pluginVersion": "8.0.6",
331+
"pluginVersion": "8.2.3",
324332
"targets": [
325333
{
326334
"command": "info",
@@ -384,7 +392,7 @@
384392
"text": {},
385393
"textMode": "auto"
386394
},
387-
"pluginVersion": "8.0.6",
395+
"pluginVersion": "8.2.3",
388396
"targets": [
389397
{
390398
"command": "info",
@@ -449,7 +457,7 @@
449457
"text": {},
450458
"textMode": "auto"
451459
},
452-
"pluginVersion": "8.0.6",
460+
"pluginVersion": "8.2.3",
453461
"targets": [
454462
{
455463
"command": "info",
@@ -984,7 +992,7 @@
984992
}
985993
],
986994
"refresh": "",
987-
"schemaVersion": 30,
995+
"schemaVersion": 31,
988996
"style": "dark",
989997
"tags": ["redis"],
990998
"templating": {

src/dashboards/redis-gears.json

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
"type": "grafana",
66
"id": "grafana",
77
"name": "Grafana",
8-
"version": "8.0.6"
8+
"version": "8.2.3"
99
},
1010
{
1111
"type": "datasource",
1212
"id": "redis-datasource",
1313
"name": "Redis",
14-
"version": "1.5.0"
14+
"version": "2.0.0"
1515
},
1616
{
1717
"type": "panel",
@@ -41,15 +41,22 @@
4141
"hide": true,
4242
"iconColor": "rgba(0, 211, 255, 1)",
4343
"name": "Annotations & Alerts",
44+
"target": {
45+
"limit": 100,
46+
"matchAny": false,
47+
"tags": [],
48+
"type": "dashboard"
49+
},
4450
"type": "dashboard"
4551
}
4652
]
4753
},
4854
"editable": true,
55+
"fiscalYearStartMonth": 0,
4956
"gnetId": null,
5057
"graphTooltip": 0,
5158
"id": null,
52-
"iteration": 1626489368847,
59+
"iteration": 1636563251217,
5360
"links": [
5461
{
5562
"asDropdown": false,
@@ -64,6 +71,7 @@
6471
"url": ""
6572
}
6673
],
74+
"liveNow": false,
6775
"panels": [
6876
{
6977
"datasource": "$redis",
@@ -321,7 +329,7 @@
321329
"showHeader": true,
322330
"sortBy": []
323331
},
324-
"pluginVersion": "8.0.6",
332+
"pluginVersion": "8.2.3",
325333
"targets": [
326334
{
327335
"command": "rg.dumpregistrations",
@@ -483,7 +491,7 @@
483491
}
484492
]
485493
},
486-
"pluginVersion": "8.0.6",
494+
"pluginVersion": "8.2.3",
487495
"targets": [
488496
{
489497
"command": "rg.pydumpreqs",
@@ -515,7 +523,7 @@
515523
"type": "table"
516524
}
517525
],
518-
"schemaVersion": 30,
526+
"schemaVersion": 31,
519527
"style": "dark",
520528
"tags": ["redis"],
521529
"templating": {

0 commit comments

Comments
 (0)