Skip to content

Added support for Performance Schema metrics #9

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

Open
wants to merge 28 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
9aba01c
adding slow queries from P_S
isartmontane Nov 25, 2015
4216ffa
bugfixes and cleaning up query string
isartmontane Nov 25, 2015
09ad4c0
bugfixes and cleaning up query string
isartmontane Nov 25, 2015
012d63e
taking longer query details
isartmontane Nov 25, 2015
c203475
taking longer query details
isartmontane Nov 25, 2015
aff5945
adding warn/err query support
isartmontane Nov 25, 2015
ef1ba2d
misspelled function name
isartmontane Nov 25, 2015
c39d8a9
misspelled function name
isartmontane Nov 25, 2015
d43ff76
misspelled function name
isartmontane Nov 25, 2015
99122ff
misspelled function name
isartmontane Nov 25, 2015
f618e77
removing non utf8 chars
isartmontane Nov 26, 2015
cd814c6
adding indexes info
isartmontane Nov 26, 2015
c922d6e
adding support for connections per user/account/host
isartmontane Nov 26, 2015
20ead1d
adding support for connections per user/account/host
isartmontane Nov 26, 2015
2739d0b
change counter per gauge
isartmontane Nov 30, 2015
ed46b75
typo fix
isartmontane Nov 30, 2015
bf3cb28
fixing more typos
isartmontane Dec 1, 2015
b25a1c7
updating README file
isartmontane Dec 1, 2015
25a9109
fixing errors when query is None or Null
isartmontane Dec 1, 2015
3d55b1e
escaping \ on queries
isartmontane Dec 1, 2015
85338e4
excluding "null" queries
isartmontane Dec 3, 2015
9def09b
exclude table name from slow queries
isartmontane Dec 7, 2015
6506b84
turn off metrics to get unused indexes until PS is tunned
isartmontane Dec 7, 2015
a3ad466
updaing readme
isartmontane Dec 7, 2015
82f016d
slow queries must be counter instead of gauge
isartmontane Dec 11, 2015
2389c3d
adding crc32 checkum on queries to avoid duplciates
isartmontane Dec 14, 2015
c3580fb
fixing tab
isartmontane Jan 14, 2016
c252a5b
Check if information_schema.query_response_time exists. Avoid failure…
isartmontane Jul 19, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -322,5 +322,17 @@ For versions of MySQL with support for it and where enabled, `INFORMATION_SCHEMA
response_time_total.14
response_time_count.14

### Added support for PERFORMANCE_SCHEMA metrics
If Performance_schema is enabled you will get the following metrics as well.

Number of connections per Account (host-user) - Total and current
Number of connections per User - Total and current
Number of connections per Host - Total and current
Number of rows read per index - schema, table, index name, rows read
Indexes not being used (didn't get any read) - schema, table, index_name
Queries that raised errors/warnings - Query, number of executions, errors, warnings
Slow queries - Query, number of executions, execution time (total,max,avg), rows sent (total, avg), scanned rows
Added slow queries excluding table names. Very useful when you have different table with same 'schema'.

## License
MIT (http://www.opensource.org/licenses/mit-license.php)
MIT (http://www.opensource.org/licenses/mit-license.php)
Loading