Skip to content

Commit 3b94410

Browse files
authored
Update README and CHANGELOG for version 2.0.0 (#75)
1 parent f76c851 commit 3b94410

File tree

10 files changed

+18
-6
lines changed

10 files changed

+18
-6
lines changed

CHANGELOG.md

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

3-
## 2.0.0 (IN PROGRESS)
3+
## 2.0.0 (2021-06-25)
4+
5+
### Breaking changes
6+
7+
Supports Grafana 8.0+, for Grafana 7.X use version 1.2.0
48

59
### Features / Enhancements
610

@@ -9,11 +13,13 @@
913
- Replace old Latency Graph with TimeSeries component (#70)
1014
- Add Redis 7 commands to CLI (#71)
1115
- Add NgAlert and Plugin catalog to docker image (#72)
16+
- Update dashboards in the application's menu as pages (#73)
17+
- Update CLI legacy switch to ButtonGroup (#74)
1218

1319
### Bug fixes
1420

1521
- "Available Requirements" panel should be set to $redis datasource #63
16-
- Cannot read property 'v1' of undefined (theme.v1) in the Grafana8 #65
22+
- Cannot read property 'v1' of undefined (theme.v1) in the Grafana 8 #65
1723
- Add theme to getDisplayProcessor (#66)
1824
- Fix adding new data source and minor updates (#68)
1925

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
![Application](https://raw.githubusercontent.com/RedisGrafana/grafana-redis-app/master/src/img/redis-app.png)
44

5-
[![Grafana 7](https://img.shields.io/badge/Grafana-7-orange)](https://www.grafana.com)
5+
[![Grafana 8](https://img.shields.io/badge/Grafana-8-orange)](https://www.grafana.com)
66
[![Redis Data Source](https://img.shields.io/badge/dynamic/json?color=blue&label=Redis%20Data%20Source&query=%24.version&url=https%3A%2F%2Fgrafana.com%2Fapi%2Fplugins%2Fredis-datasource)](https://grafana.com/grafana/plugins/redis-datasource)
77
[![Redis Application plugin](https://img.shields.io/badge/dynamic/json?color=blue&label=Redis%20Application%20plugin&query=%24.version&url=https%3A%2F%2Fgrafana.com%2Fapi%2Fplugins%2Fredis-app)](https://grafana.com/grafana/plugins/redis-app)
88
![CI](https://github.com/RedisGrafana/grafana-redis-app/workflows/CI/badge.svg)
@@ -43,7 +43,7 @@ All dashboards are available from the application's icon in the left side menu.
4343

4444
### Requirements
4545

46-
- **Grafana 8.0** is required for Redis Application 2.X.
46+
- **Grafana 8.0+** is required for Redis Application 2.X.
4747
- **Grafana 7.1+** is required for Redis Application 1.X.
4848

4949
## Getting Started

src/img/redis-app.png

22.6 KB
Loading

src/img/redis-cli-dashboard.png

-28.9 KB
Loading

src/img/redis-cli-panel.png

40.3 KB
Loading

src/img/redis-gears-dashboard.png

24.9 KB
Loading

src/img/redis-keys-panel.png

-5.37 KB
Loading

src/img/redis-latency-panel-graph.png

-38.7 KB
Loading

src/img/redis-latency-panel-table.png

-1.21 KB
Loading

src/redis-latency-panel/components/redis-latency-panel-graph/redis-latency-panel-graph.tsx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {
1313
toDataFrame,
1414
} from '@grafana/data';
1515
import { config } from '@grafana/runtime';
16-
import { LegendDisplayMode, TimeSeries, TooltipDisplayMode, TooltipPlugin } from '@grafana/ui';
16+
import { colors, LegendDisplayMode, TimeSeries, TooltipDisplayMode, TooltipPlugin } from '@grafana/ui';
1717
import { PanelOptions, SeriesMap, SeriesValue } from '../../types';
1818

1919
/**
@@ -79,6 +79,11 @@ export class RedisLatencyPanelGraph extends PureComponent<Props, State> {
7979
return acc;
8080
}
8181

82+
/**
83+
* Color
84+
*/
85+
const color = colors[index % colors.length];
86+
8287
/**
8388
* Data Frame
8489
*/
@@ -97,7 +102,8 @@ export class RedisLatencyPanelGraph extends PureComponent<Props, State> {
97102
config: {
98103
unit: 'µs',
99104
color: {
100-
mode: FieldColorModeId.PaletteClassic,
105+
fixedColor: color,
106+
mode: FieldColorModeId.Fixed,
101107
},
102108
},
103109
},

0 commit comments

Comments
 (0)