Skip to content

Commit

Permalink
Update README and CHANGELOG for version 2.0.0 (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikhail-vl authored Jun 25, 2021
1 parent f76c851 commit 3b94410
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 6 deletions.
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Change Log

## 2.0.0 (IN PROGRESS)
## 2.0.0 (2021-06-25)

### Breaking changes

Supports Grafana 8.0+, for Grafana 7.X use version 1.2.0

### Features / Enhancements

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

### Bug fixes

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

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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

[![Grafana 7](https://img.shields.io/badge/Grafana-7-orange)](https://www.grafana.com)
[![Grafana 8](https://img.shields.io/badge/Grafana-8-orange)](https://www.grafana.com)
[![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)
[![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)
![CI](https://github.com/RedisGrafana/grafana-redis-app/workflows/CI/badge.svg)
Expand Down Expand Up @@ -43,7 +43,7 @@ All dashboards are available from the application's icon in the left side menu.

### Requirements

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

## Getting Started
Expand Down
Binary file modified src/img/redis-app.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/img/redis-cli-dashboard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/img/redis-cli-panel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/img/redis-gears-dashboard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/img/redis-keys-panel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/img/redis-latency-panel-graph.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/img/redis-latency-panel-table.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
toDataFrame,
} from '@grafana/data';
import { config } from '@grafana/runtime';
import { LegendDisplayMode, TimeSeries, TooltipDisplayMode, TooltipPlugin } from '@grafana/ui';
import { colors, LegendDisplayMode, TimeSeries, TooltipDisplayMode, TooltipPlugin } from '@grafana/ui';
import { PanelOptions, SeriesMap, SeriesValue } from '../../types';

/**
Expand Down Expand Up @@ -79,6 +79,11 @@ export class RedisLatencyPanelGraph extends PureComponent<Props, State> {
return acc;
}

/**
* Color
*/
const color = colors[index % colors.length];

/**
* Data Frame
*/
Expand All @@ -97,7 +102,8 @@ export class RedisLatencyPanelGraph extends PureComponent<Props, State> {
config: {
unit: 'µs',
color: {
mode: FieldColorModeId.PaletteClassic,
fixedColor: color,
mode: FieldColorModeId.Fixed,
},
},
},
Expand Down

0 comments on commit 3b94410

Please sign in to comment.