Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

tikv_details: speed up grafana display - release-3.0 #1071

Merged
merged 1 commit into from
Dec 18, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/tikv_details.json
Original file line number Diff line number Diff line change
Expand Up @@ -13724,7 +13724,7 @@
"steppedLine": false,
"targets": [
{
"expr": "sum(rate(tikv_thread_voluntary_context_switches{instance=~\"$instance\"}[30s])) by (instance, name) > 0",
"expr": "sum(rate(tikv_thread_voluntary_context_switches{instance=~\"$instance\"}[30s])) by (instance, name) > 200",
"format": "time_series",
"hide": false,
"interval": "",
Expand Down Expand Up @@ -13813,7 +13813,7 @@
"steppedLine": false,
"targets": [
{
"expr": "sum(rate(tikv_thread_nonvoluntary_context_switches{instance=~\"$instance\"}[30s])) by (instance, name) > 0",
"expr": "sum(rate(tikv_thread_nonvoluntary_context_switches{instance=~\"$instance\"}[30s])) by (instance, name) > 50",
"format": "time_series",
"hide": false,
"interval": "",
Expand Down