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

New low level innodb metrics adjusted for mysql 5.5.17+ #178

Merged
merged 2 commits into from
Feb 9, 2016

Conversation

gggiroux
Copy link
Contributor

In MySQL 5.5.17 the format for innodb locks changed, so adjust code to be able to parse and collect both variants.

In MySQL 5.5, show engine innodb status changed output of RW locks from

RW-shared spins 2602, OS waits 1301; RW-excl spins 77, OS waits 71
to 
RW-shared spins 344, rounds 10105, OS waits 334
RW-excl spins 5, rounds 399, OS waits 11

So modify code to look for these. Should be backward as the 5.1 regex format is untouched.
@johann8384
Copy link
Member

Has this been tested on both versions?

@johann8384
Copy link
Member

Also, please ensure you have completed the CLA: http://opentsdb.net/contributing.html

johann8384 added a commit that referenced this pull request Feb 9, 2016
New low level innodb metrics adjusted for mysql 5.5.17+
@johann8384 johann8384 merged commit 4634dd2 into OpenTSDB:master Feb 9, 2016
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.

2 participants