-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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 HTTP API to generate TiDB metric profile #18272
Merged
Merged
Changes from 7 commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
655490b
init
crazycs520 a5c5bc9
init
crazycs520 7d40979
Merge branch 'add-more-metric' into profile
crazycs520 b0c038e
add more metric
crazycs520 2548269
generate dot profile
crazycs520 98d76be
add time parameter
crazycs520 4221e91
Merge branch 'master' into profile
crazycs520 bd32b4a
Update server/http_status.go
crazycs520 bde95cf
make ci happy
crazycs520 7a00f41
Merge branch 'master' into profile
crazycs520 588afb2
add more metric
crazycs520 0ec571f
Merge branch 'master' into profile
crazycs520 e08855f
add more metric
crazycs520 d423a8f
remove small node display and refine parent node cost calculation
crazycs520 927b63f
Merge branch 'profile' of https://github.com/crazycs520/tidb into pro…
crazycs520 6f05691
Merge branch 'master' into profile
crazycs520 bef2762
refine some tikv raftstore metric name
crazycs520 07014ba
Merge branch 'profile' of https://github.com/crazycs520/tidb into pro…
crazycs520 0100a7d
fix the duplicate node bug
crazycs520 652a7a1
Merge branch 'master' into profile
crazycs520 7639665
Merge branch 'master' into profile
crazycs520 eb37b1e
refine code
crazycs520 8ddd646
remove redundant code
crazycs520 3481671
Merge branch 'master' into profile
crazycs520 fbd26e0
Merge branch 'master' into profile
crazycs520 81fae5d
Merge branch 'master' into profile
crazycs520 47806bd
address comment
crazycs520 70884f7
refine code
crazycs520 8a52b54
Merge branch 'master' into profile
crazycs520 068105a
Merge branch 'master' into profile
crazycs520 c6e1e1b
Merge branch 'master' into profile
crazycs520 6f496de
Merge branch 'master' into profile
crazycs520 a5557ee
Merge branch 'master' into profile
crazycs520 358c493
Merge branch 'master' into profile
crazycs520 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Why add these metrics?
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.
Because it will be used in https://github.com/pingcap/tidb/pull/18272/files#diff-18509316cf07ffaf39a95e30edafcbddR391.