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

executor/inspect: Add a status_address of inspection_result table… #17695

Merged
merged 1 commit into from
Jun 5, 2020

Conversation

crazycs520
Copy link
Contributor

@crazycs520 crazycs520 commented Jun 5, 2020

Signed-off-by: crazycs520 crazycs520@gmail.com

cherry-pick #15589
Fix pingcap/tidb-dashboard#586

What problem does this PR solve?

Before this PR, the instance value of inspection_result is wrong. The value in some row is grpc service address, such as 127.0.0.1:4000, the value in some row is status address, such as 127.0.0.1:10080.

  • Fix instance value.
  • Add a status_address of inspection_result table to indicate the status address.

Why add a status_address?

Because some diagnose rule such as server down, we can only get the status address from Prometheus.

Check List

Tests

  • Unit test

Side effects

  • Performance regression
    • Consumes more CPU
    • Consumes more MEM

Release note

  • Add a status_address of inspection_result table to indicate the status address.

@crazycs520 crazycs520 added this to the v4.0.1 milestone Jun 5, 2020
@AilinKid
Copy link
Contributor

AilinKid commented Jun 5, 2020

/run-all-tests

Copy link
Contributor

@AilinKid AilinKid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lonng
Copy link
Contributor

lonng commented Jun 5, 2020

/merge

@sre-bot
Copy link
Contributor

sre-bot commented Jun 5, 2020

Sorry @lonng, you don't have permission to trigger auto merge event on this branch.

@crazycs520
Copy link
Contributor Author

/rebuild

@zimulala zimulala merged commit 3e40d5a into pingcap:release-4.0 Jun 5, 2020
@bb7133 bb7133 modified the milestones: v4.0.1, v4.0.2 Jun 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants