From 4d3c9b939cd58393f02608619ba96e208ad25891 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 4963f93e996ea..46ae201008717 100644 --- a/grafana-tikv-dashboard.md +++ b/grafana-tikv-dashboard.md @@ -99,7 +99,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 709dc8cdcbe07743de40aff837b75f23dd8e7f8a 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 46ae201008717..7dacbf06a7184 100644 --- a/grafana-tikv-dashboard.md +++ b/grafana-tikv-dashboard.md @@ -103,7 +103,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 73faf895d0657dade6eec8899d300ee46ccc059d 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 7dacbf06a7184..e04f5a6a17a0c 100644 --- a/grafana-tikv-dashboard.md +++ b/grafana-tikv-dashboard.md @@ -100,13 +100,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 db565838227dce9f5d047d54bb50ad8f01cdd7ac 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 e04f5a6a17a0c..8e3f2fc4e1cb7 100644 --- a/grafana-tikv-dashboard.md +++ b/grafana-tikv-dashboard.md @@ -103,7 +103,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