Skip to content

Commit f699ffd

Browse files
authored
Update to Grafana 8.0.6 (#78)
1 parent 3cafb6d commit f699ffd

File tree

6 files changed

+417
-372
lines changed

6 files changed

+417
-372
lines changed

CHANGELOG.md

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

3+
## 2.1.0 (IN PROGRESS)
4+
5+
### Features / Enhancements
6+
7+
- Update to Grafana 8.0.6
8+
39
## 2.0.1 (2021-07-07)
410

511
### Features / Enhancements

config/jest-setup.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,18 @@ 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: 7 additions & 7 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.0.2",
6-
"@grafana/runtime": "8.0.2",
7-
"@grafana/toolkit": "8.0.2",
8-
"@grafana/ui": "8.0.2",
9-
"@monaco-editor/react": "^4.2.0",
10-
"@types/enzyme": "^3.10.8",
5+
"@grafana/data": "8.0.6",
6+
"@grafana/runtime": "8.0.6",
7+
"@grafana/toolkit": "8.0.6",
8+
"@grafana/ui": "8.0.6",
9+
"@monaco-editor/react": "^4.2.1",
10+
"@types/enzyme": "^3.10.9",
1111
"@types/enzyme-adapter-react-16": "^1.0.6",
1212
"emotion": "11.0.0",
1313
"enzyme": "^3.11.0",
@@ -33,5 +33,5 @@
3333
"upgrade": "yarn upgrade --latest",
3434
"watch": "grafana-toolkit plugin:dev --watch"
3535
},
36-
"version": "2.0.1"
36+
"version": "2.1.0"
3737
}

src/dashboards/redis-cli.json

Lines changed: 18 additions & 18 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.0"
8+
"version": "8.0.6"
99
},
1010
{
1111
"type": "panel",
@@ -61,7 +61,7 @@
6161
"gnetId": null,
6262
"graphTooltip": 0,
6363
"id": null,
64-
"iteration": 1623701324423,
64+
"iteration": 1626489484261,
6565
"links": [
6666
{
6767
"asDropdown": false,
@@ -89,8 +89,8 @@
8989
"axisPlacement": "auto",
9090
"barAlignment": 0,
9191
"drawStyle": "line",
92-
"fillOpacity": 10,
93-
"gradientMode": "none",
92+
"fillOpacity": 51,
93+
"gradientMode": "opacity",
9494
"hideFrom": {
9595
"legend": false,
9696
"tooltip": false,
@@ -187,8 +187,8 @@
187187
"axisPlacement": "auto",
188188
"barAlignment": 0,
189189
"drawStyle": "line",
190-
"fillOpacity": 10,
191-
"gradientMode": "none",
190+
"fillOpacity": 50,
191+
"gradientMode": "opacity",
192192
"hideFrom": {
193193
"legend": false,
194194
"tooltip": false,
@@ -320,7 +320,7 @@
320320
"text": {},
321321
"textMode": "auto"
322322
},
323-
"pluginVersion": "8.0.0",
323+
"pluginVersion": "8.0.6",
324324
"targets": [
325325
{
326326
"command": "info",
@@ -384,7 +384,7 @@
384384
"text": {},
385385
"textMode": "auto"
386386
},
387-
"pluginVersion": "8.0.0",
387+
"pluginVersion": "8.0.6",
388388
"targets": [
389389
{
390390
"command": "info",
@@ -449,7 +449,7 @@
449449
"text": {},
450450
"textMode": "auto"
451451
},
452-
"pluginVersion": "8.0.0",
452+
"pluginVersion": "8.0.6",
453453
"targets": [
454454
{
455455
"command": "info",
@@ -526,8 +526,8 @@
526526
"axisPlacement": "auto",
527527
"barAlignment": 0,
528528
"drawStyle": "line",
529-
"fillOpacity": 10,
530-
"gradientMode": "none",
529+
"fillOpacity": 52,
530+
"gradientMode": "opacity",
531531
"hideFrom": {
532532
"legend": false,
533533
"tooltip": false,
@@ -647,8 +647,8 @@
647647
"axisPlacement": "auto",
648648
"barAlignment": 0,
649649
"drawStyle": "line",
650-
"fillOpacity": 10,
651-
"gradientMode": "none",
650+
"fillOpacity": 52,
651+
"gradientMode": "opacity",
652652
"hideFrom": {
653653
"legend": false,
654654
"tooltip": false,
@@ -750,8 +750,8 @@
750750
"axisPlacement": "auto",
751751
"barAlignment": 0,
752752
"drawStyle": "line",
753-
"fillOpacity": 10,
754-
"gradientMode": "none",
753+
"fillOpacity": 49,
754+
"gradientMode": "opacity",
755755
"hideFrom": {
756756
"legend": false,
757757
"tooltip": false,
@@ -838,8 +838,8 @@
838838
"axisPlacement": "auto",
839839
"barAlignment": 0,
840840
"drawStyle": "line",
841-
"fillOpacity": 10,
842-
"gradientMode": "none",
841+
"fillOpacity": 52,
842+
"gradientMode": "opacity",
843843
"hideFrom": {
844844
"legend": false,
845845
"tooltip": false,
@@ -1022,5 +1022,5 @@
10221022
"timezone": "",
10231023
"title": "Redis CLI",
10241024
"uid": "_SGxCBNGk",
1025-
"version": 4
1025+
"version": 1
10261026
}

src/dashboards/redis-gears.json

Lines changed: 7 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.0"
8+
"version": "8.0.6"
99
},
1010
{
1111
"type": "datasource",
@@ -49,7 +49,7 @@
4949
"gnetId": null,
5050
"graphTooltip": 0,
5151
"id": null,
52-
"iteration": 1623701269858,
52+
"iteration": 1626489368847,
5353
"links": [
5454
{
5555
"asDropdown": false,
@@ -77,8 +77,8 @@
7777
"axisPlacement": "auto",
7878
"barAlignment": 0,
7979
"drawStyle": "line",
80-
"fillOpacity": 10,
81-
"gradientMode": "none",
80+
"fillOpacity": 49,
81+
"gradientMode": "opacity",
8282
"hideFrom": {
8383
"legend": false,
8484
"tooltip": false,
@@ -321,7 +321,7 @@
321321
"showHeader": true,
322322
"sortBy": []
323323
},
324-
"pluginVersion": "8.0.0",
324+
"pluginVersion": "8.0.6",
325325
"targets": [
326326
{
327327
"command": "rg.dumpregistrations",
@@ -483,7 +483,7 @@
483483
}
484484
]
485485
},
486-
"pluginVersion": "8.0.0",
486+
"pluginVersion": "8.0.6",
487487
"targets": [
488488
{
489489
"command": "rg.pydumpreqs",
@@ -550,5 +550,5 @@
550550
"timezone": "",
551551
"title": "RedisGears",
552552
"uid": "xFPiNzLMz",
553-
"version": 2
553+
"version": 1
554554
}

0 commit comments

Comments
 (0)