-
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
Reduce some unnecessary prometheus metrics. #5006
Reduce some unnecessary prometheus metrics. #5006
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. |
/run-all-tests |
Coverage for changed files
Coverage summary
full coverage report (for internal network access only) |
/run-all-tests |
Coverage for changed files
Coverage summary
full coverage report (for internal network access only) |
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
/merge |
@mengxin9014: 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. |
@mengxin9014: In response to this:
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. |
Coverage for changed files
Coverage summary
full coverage report (for internal network access only) |
dbms/src/Common/TiFlashMetrics.h
Outdated
M(tiflash_tmt_merge_count, "Total number of TMT engine merge", Counter) \ | ||
M(tiflash_tmt_merge_duration_seconds, "Bucketed histogram of TMT engine merge duration", Histogram, \ | ||
F(type_tmt_merge_duration, {{"type", "tmt_merge_duration"}}, ExpBuckets{0.0005, 2, 20})) \ | ||
F(type_tmt_merge_duration, {{"type", "tmt_merge_duration"}}, ExpBuckets{0.001, 2, 20})) \ | ||
M(tiflash_tmt_write_parts_count, "Total number of TMT engine write parts", Counter) \ | ||
M(tiflash_tmt_write_parts_duration_seconds, "Bucketed histogram of TMT engine write parts duration", Histogram, \ | ||
F(type_tmt_write_duration, {{"type", "tmt_write_parts_duration"}}, ExpBuckets{0.0005, 2, 20})) \ | ||
F(type_tmt_write_duration, {{"type", "tmt_write_parts_duration"}}, ExpBuckets{0.001, 2, 20})) \ | ||
M(tiflash_tmt_read_parts_count, "Total number of TMT engine read parts", Gauge) \ |
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.
We can remove these metrics of tmt engine
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.
We can remove these metrics of tmt engine
done
The panels shown in Grafana by "heatmap" are strange and misleading after we changed the bucket boundary for the following metrics:
Maybe leave those metrics drawn by "heatmap" unchanged? When the time range contains both before upgrade and after upgradeWhen the time range contains only before upgradeWhen the time range contains only after upgrade |
done. |
/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 with minor comment
dbms/src/Common/TiFlashMetrics.h
Outdated
M(tiflash_tmt_merge_count, "Total number of TMT engine merge", Counter) \ | ||
M(tiflash_tmt_merge_duration_seconds, "Bucketed histogram of TMT engine merge duration", Histogram, \ | ||
F(type_tmt_merge_duration, {{"type", "tmt_merge_duration"}}, ExpBuckets{0.0005, 2, 20})) \ | ||
F(type_tmt_merge_duration, {{"type", "tmt_merge_duration"}}, ExpBuckets{0.001, 2, 20})) \ | ||
M(tiflash_tmt_write_parts_count, "Total number of TMT engine write parts", Counter) \ | ||
M(tiflash_tmt_write_parts_duration_seconds, "Bucketed histogram of TMT engine write parts duration", Histogram, \ | ||
F(type_tmt_write_duration, {{"type", "tmt_write_parts_duration"}}, ExpBuckets{0.0005, 2, 20})) \ | ||
M(tiflash_tmt_read_parts_count, "Total number of TMT engine read parts", Gauge) \ | ||
F(type_tmt_write_duration, {{"type", "tmt_write_parts_duration"}}, ExpBuckets{0.001, 2, 20})) \ |
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.
these metrics can also be removed
- tiflash_tmt_merge_count
- tiflash_tmt_merge_duration_seconds
- tiflash_tmt_write_parts_count
- tiflash_tmt_write_parts_duration_seconds
* tiflash_tmt_read_parts_count
/merge |
@mengxin9014: 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: 3b46ee5
|
@mengxin9014: 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. |
Coverage for changed files
Coverage summary
full coverage report (for internal network access only) |
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
In response to a cherrypick label: new pull request created: #5173. |
In response to a cherrypick label: new pull request created: #5174. |
What problem does this PR solve?
Issue Number: close #5080
Problem Summary:
What is changed and how it works?
reduce some unnecessary prometheus metrics.
Check List
Tests
Side effects
Documentation
Release note