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

*: spilt the internal SQLs in the transaction related metrics #8255

Merged
merged 5 commits into from
Nov 9, 2018

Conversation

jackysp
Copy link
Member

@jackysp jackysp commented Nov 9, 2018

What problem does this PR solve?

In Grafana of TiDB, it is unable to distinguish between internal and general transaction related metrics.

What is changed and how it works?

Add a "sql_type" label for all transaction-related metrics.

Check List

Tests

  • Manual test (add detailed scripts or steps below)
    Deploy the new TiDB cluster, and modify the transaction panels on the Grafana.

Code changes

  • Has exported function/method change

Side effects

  • Increased code complexity

PTAL @eurekaka @zz-jason

@jackysp jackysp added the type/enhancement The issue or PR belongs to an enhancement. label Nov 9, 2018
Copy link
Member

@zz-jason zz-jason left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@eurekaka eurekaka left a comment

Choose a reason for hiding this comment

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

LGTM

@zz-jason zz-jason added the status/LGT2 Indicates that a PR has LGTM 2. label Nov 9, 2018
@jackysp
Copy link
Member Author

jackysp commented Nov 9, 2018

/run-all-tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/LGT2 Indicates that a PR has LGTM 2. type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants