-
Notifications
You must be signed in to change notification settings - Fork 409
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
Add more metrics about PageStorage #6175
Conversation
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
3aadff7
to
3050bee
Compare
Updated |
c0c16b8
to
3873c70
Compare
7ef00cc
to
d727ee3
Compare
Working: the avg and max column files count per segment in the delta layer Update: tiflash changes done, need another PR for tidb system table |
/run-all-tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
dbms/src/Common/TiFlashMetrics.h
Outdated
@@ -149,17 +149,31 @@ namespace DB | |||
F(type_flush, {{"type", "flush"}}, ExpBuckets{0.001, 2, 20}), \ | |||
F(type_split, {{"type", "split"}}, ExpBuckets{0.001, 2, 20})) \ | |||
M(tiflash_storage_page_gc_count, "Total number of page's gc execution.", Counter, \ | |||
F(type_exec, {"type", "exec"}), \ | |||
F(type_low_write, {"type", "low_write"}), \ | |||
F(type_v2, {"type", "exec"}), \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason not changing the label value?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought we could get a smoother line before and after the upgrade. But changing the label value seems more reasonable.
Changed.
/merge |
@JaySon-Huang: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests You only need to trigger If you have any questions about the PR merge process, please refer to pr process. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
/merge cancel |
/merge |
@JaySon-Huang: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests You only need to trigger If you have any questions about the PR merge process, please refer to pr process. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
This pull request has been accepted and is ready to merge. Commit hash: 20f14a0
|
@JaySon-Huang: Your PR was out of date, I have automatically updated it for you. At the same time I will also trigger all tests for you: /run-all-tests If the CI test fails, you just re-trigger the test that failed and the bot will merge the PR for you after the CI passes. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
What problem does this PR solve?
Issue Number: ref #6162
Problem Summary:
What is changed and how it works?
System table changes
max_pack_count_in_delta
tosystem.dt_tables
system.dt_tables
Grafana changes
http://172.16.5.85:21540/d/qa-OjKNVk/test-cluster-tiflash-summary?orgId=1&from=1666781469235&to=1666803740418
Check List
Tests
Side effects
Documentation
Release note