Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

metric: add read scan duration panel #16205

Merged
merged 2 commits into from
Dec 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 10 additions & 1 deletion metrics/grafana/tikv_details.dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -6852,7 +6852,16 @@ def PessimisticLocking() -> RowPanel:
description="The length includes the entering transaction itself",
yaxis=yaxis(format=UNITS.SHORT),
metric="tikv_lock_wait_queue_length_bucket",
)
),
graph_panel_histogram_quantiles(
title="In-memory scan lock read duration",
description="The duration scan in-memory pessimistic locks with read lock",
yaxes=yaxes(left_format=UNITS.SECONDS, log_base=2),
metric="tikv_storage_mvcc_scan_lock_read_duration_seconds",
by_labels=["type"],
hide_count=True,
hide_avg=True,
),
]
)
return layout.row_panel
Expand Down