Skip to content

Conversation

@marsishandsome
Copy link
Collaborator

@marsishandsome marsishandsome commented Jun 29, 2021

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

What problem does this PR solve?

close #218

Currently, only one TiSession is supported with metrics exporting.

What is changed and how it works?

  • Support metrics with multiple TiSessions with the same port
  • Do not support multiple TiSessions with different ports

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code

Code changes

  • Has exported function/method change
  • Has exported variable/fields change
  • Has interface methods change
  • Has persistent data change

Side effects

  • Possible performance regression
  • Increased code complexity
  • Breaking backward compatibility

Related changes

  • Need to cherry-pick to the release branch
  • Need to update the documentation
  • Need to be included in the release note

@marsishandsome marsishandsome force-pushed the feature/refactor-metrics branch 5 times, most recently from 327ea24 to 03cd3d0 Compare June 29, 2021 03:31
@marsishandsome
Copy link
Collaborator Author

/run-all-tests

@marsishandsome
Copy link
Collaborator Author

/run-all-tests

Signed-off-by: marsishandsome <marsishandsome@gmail.com>
@marsishandsome marsishandsome force-pushed the feature/refactor-metrics branch from 5aa2a04 to 5754b9f Compare June 29, 2021 04:08
@marsishandsome
Copy link
Collaborator Author

/run-all-tests

Copy link
Collaborator

@birdstorm birdstorm left a comment

Choose a reason for hiding this comment

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

others LGTM

Signed-off-by: marsishandsome <marsishandsome@gmail.com>
@marsishandsome
Copy link
Collaborator Author

/merge

@ti-srebot
Copy link
Collaborator

/run-all-tests

@ti-srebot ti-srebot merged commit 630e151 into tikv:master Jun 29, 2021
ti-srebot pushed a commit to ti-srebot/client-java that referenced this pull request Jun 29, 2021
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
@ti-srebot
Copy link
Collaborator

cherry pick to release-3.1 in PR #221

marsishandsome added a commit to marsishandsome/client-java that referenced this pull request Jun 29, 2021
Signed-off-by: marsishandsome <marsishandsome@gmail.com>
marsishandsome added a commit that referenced this pull request Jun 29, 2021
)

Signed-off-by: marsishandsome <marsishandsome@gmail.com>
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.

Support metrics with multiple TiSessions with the same port

3 participants