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

Support adding explain output for slow query in JSON report as well #471

Merged

Conversation

perfectayush
Copy link
Contributor

I am generating JSON reports from slow logs and consuming them for a visual dashboard in elasticsearch.
I find it useful to add the EXPLAIN output in the JSON reports as well.

@it-percona-cla
Copy link

it-percona-cla commented Nov 5, 2020

CLA assistant check
All committers have signed the CLA.

Copy link
Collaborator

@svetasmirnova svetasmirnova left a comment

Choose a reason for hiding this comment

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

You changed the auto-generated part of the bin/pt-query-digest code. These changes will be overwritten once we rebuild the tool using the update-modules utility. Please make changes in the package JSONReportFormatter instead.

Please, also add the test case. You will find examples in the directory t.

@svetasmirnova svetasmirnova merged commit be2310f into percona:3.x Nov 12, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants