From b6c2ff8adea897b7387e39da55968631beae1a5b Mon Sep 17 00:00:00 2001 From: Liuxiaozhen12 <82579298+Liuxiaozhen12@users.noreply.github.com> Date: Thu, 2 Sep 2021 16:13:30 +0800 Subject: [PATCH 1/4] Add description for TiKV Ready handled panel --- grafana-tikv-dashboard.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/grafana-tikv-dashboard.md b/grafana-tikv-dashboard.md index 03bca8a699a35..2db8dd368ae75 100644 --- a/grafana-tikv-dashboard.md +++ b/grafana-tikv-dashboard.md @@ -100,7 +100,14 @@ This document provides a detailed description of these key metrics on the **TiKV ## Raft process -- Ready handled: The count of handled ready operations per second +- Ready handled: The number of handled ready operations per type per second + - count: The number of handled ready operations + - has_ready_region: The number of Regions who have ready + - pending_region: The operations of the Region being checked whether has ready. This metric is deprecated since v3.0.0 + - message: The number of messages that each ready operation contains. + - append: The number of Raft log entry that each ready operation contains + - commit: The number of committed Raft log entry that each ready operation contains + - snapshot: The number of snapshots that each ready operation contains - 0.99 Duration of Raft store events: The time consumed by Raftstore events (P99) - Process ready duration: The time consumed for processes to be ready in Raft - Process ready duration per server: The time consumed for peer processes to be ready in Raft per TiKV instance. It should be less than 2 seconds (P99.99). From 30a94edcfc7c5bb5fca074bc9ed15a10fb2b60df Mon Sep 17 00:00:00 2001 From: Liuxiaozhen12 <82579298+Liuxiaozhen12@users.noreply.github.com> Date: Thu, 2 Sep 2021 16:17:02 +0800 Subject: [PATCH 2/4] Update grafana-tikv-dashboard.md --- grafana-tikv-dashboard.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grafana-tikv-dashboard.md b/grafana-tikv-dashboard.md index 2db8dd368ae75..1f213f11f8ac5 100644 --- a/grafana-tikv-dashboard.md +++ b/grafana-tikv-dashboard.md @@ -104,7 +104,7 @@ This document provides a detailed description of these key metrics on the **TiKV - count: The number of handled ready operations - has_ready_region: The number of Regions who have ready - pending_region: The operations of the Region being checked whether has ready. This metric is deprecated since v3.0.0 - - message: The number of messages that each ready operation contains. + - message: The number of messages that each ready operation contains - append: The number of Raft log entry that each ready operation contains - commit: The number of committed Raft log entry that each ready operation contains - snapshot: The number of snapshots that each ready operation contains From 53316c0d323f3e5f13c63a70d73d0f10ff2c4864 Mon Sep 17 00:00:00 2001 From: Liuxiaozhen12 <82579298+Liuxiaozhen12@users.noreply.github.com> Date: Wed, 8 Sep 2021 15:28:33 +0800 Subject: [PATCH 3/4] Apply suggestions from code review Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com> --- grafana-tikv-dashboard.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/grafana-tikv-dashboard.md b/grafana-tikv-dashboard.md index 1f213f11f8ac5..f9a54f12f7b69 100644 --- a/grafana-tikv-dashboard.md +++ b/grafana-tikv-dashboard.md @@ -101,13 +101,13 @@ This document provides a detailed description of these key metrics on the **TiKV ## Raft process - Ready handled: The number of handled ready operations per type per second - - count: The number of handled ready operations - - has_ready_region: The number of Regions who have ready - - pending_region: The operations of the Region being checked whether has ready. This metric is deprecated since v3.0.0 - - message: The number of messages that each ready operation contains - - append: The number of Raft log entry that each ready operation contains - - commit: The number of committed Raft log entry that each ready operation contains - - snapshot: The number of snapshots that each ready operation contains + - count: The number of handled ready operations per second + - has_ready_region: The number of Regions that have ready per second + - pending_region: The operations per second of the Regions being checked for whether it has ready. This metric is deprecated since v3.0.0 + - message: The number of messages per second that each ready operation contains + - append: The number of Raft log entries that the ready operations per second contain + - commit: The number of committed Raft log entries that the ready operations per second contain + - snapshot: The number of snapshots that the ready operations per second contains - 0.99 Duration of Raft store events: The time consumed by Raftstore events (P99) - Process ready duration: The time consumed for processes to be ready in Raft - Process ready duration per server: The time consumed for peer processes to be ready in Raft per TiKV instance. It should be less than 2 seconds (P99.99). From 16e9d6ea45a18f1a9102b1e5664e53c616127db6 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Wed, 8 Sep 2021 15:31:20 +0800 Subject: [PATCH 4/4] Update grafana-tikv-dashboard.md --- grafana-tikv-dashboard.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grafana-tikv-dashboard.md b/grafana-tikv-dashboard.md index f9a54f12f7b69..89d667111fd9e 100644 --- a/grafana-tikv-dashboard.md +++ b/grafana-tikv-dashboard.md @@ -104,7 +104,7 @@ This document provides a detailed description of these key metrics on the **TiKV - count: The number of handled ready operations per second - has_ready_region: The number of Regions that have ready per second - pending_region: The operations per second of the Regions being checked for whether it has ready. This metric is deprecated since v3.0.0 - - message: The number of messages per second that each ready operation contains + - message: The number of messages that the ready operations per second contain - append: The number of Raft log entries that the ready operations per second contain - commit: The number of committed Raft log entries that the ready operations per second contain - snapshot: The number of snapshots that the ready operations per second contains