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

Added pt-stalk-history-list-trigger.sh and updated README.md #43

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

riveraja
Copy link

Added pt-stalk trigger plugin function to collect pt-stalk data when history list length reaches a threshold.

Copy link
Contributor

@impimp impimp left a comment

Choose a reason for hiding this comment

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

I've added some comments.

mysql/pt-stalk/trg/pt-stalk-history-list-trigger.sh Outdated Show resolved Hide resolved
mysql/pt-stalk/trg/pt-stalk-history-list-trigger.sh Outdated Show resolved Hide resolved
mkdir -p $PTDEST;
cd /tmp/pt;
wget percona.com/get/pt-stalk https://raw.githubusercontent.com/percona/support-snippets/master/mysql/pt-stalk/trg/$PT_STALK_PLUGIN;
chmod +x pt*;
Copy link
Contributor

Choose a reason for hiding this comment

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

how about chmod +x pt-stalk $PT_STALK_PLUGIN?

Copy link
Author

Choose a reason for hiding this comment

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

chmod +x pt* should work since the plugin name starts with pt anyway, right?

@riveraja riveraja requested a review from impimp March 30, 2019 14:13
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.

None yet

2 participants