pingcap / tidb-dashboard

A Web UI for monitoring, diagnosing and managing the TiDB cluster.
https://docs.pingcap.com/tidb/stable/dashboard-intro
Apache License 2.0
176 stars 134 forks source link

feat(slow-query): support slow query search by resource group #1646

Closed nolouch closed 9 months ago

nolouch commented 9 months ago

support slow query search by resource group

Example: image

netlify[bot] commented 9 months ago

Deploy Preview for tidb-dashboard ready!

Name Link
Latest commit 4ada671bfdef0ac84a700e991bdd363b4c9d6748
Latest deploy log https://app.netlify.com/sites/tidb-dashboard/deploys/65bbf3329e7a3b000976b04f
Deploy Preview https://deploy-preview-1646--tidb-dashboard.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

codecov[bot] commented 9 months ago

Codecov Report

Attention: 20 lines in your changes are missing coverage. Please review.

Comparison is base (2171c6e) 9.15% compared to head (4ada671) 24.10%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1646 +/- ## =========================================== + Coverage 9.15% 24.10% +14.95% =========================================== Files 127 173 +46 Lines 13375 15710 +2335 =========================================== + Hits 1224 3787 +2563 + Misses 12020 11639 -381 - Partials 131 284 +153 ``` | [Flag](https://app.codecov.io/gh/pingcap/tidb-dashboard/pull/1646/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap) | Coverage Ξ” | | |---|---|---| | [backend_integration](https://app.codecov.io/gh/pingcap/tidb-dashboard/pull/1646/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap) | `9.14% <4.76%> (-0.01%)` | :arrow_down: | | [backend_ut](https://app.codecov.io/gh/pingcap/tidb-dashboard/pull/1646/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap) | `26.26% <ΓΈ> (?)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap#carryforward-flags-in-the-pull-request-comment) to find out more. ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/pingcap/tidb-dashboard/pull/1646?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap) > `Ξ” = absolute (impact)`, `ΓΈ = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/pingcap/tidb-dashboard/pull/1646?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap). Last update [2171c6e...4ada671](https://app.codecov.io/gh/pingcap/tidb-dashboard/pull/1646?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap).
nolouch commented 9 months ago

PTAL @baurine

baurine commented 9 months ago

Get, in reviewing.

ti-chi-bot[bot] commented 9 months ago

[LGTM Timeline notifier]

Timeline:

ti-chi-bot[bot] commented 9 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: baurine

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/pingcap/tidb-dashboard/blob/master/OWNERS)~~ [baurine] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment