Commit Graph

74 Commits

Author SHA1 Message Date
Carlos Salguero
492e432f7a fixed tests for query-dijest json 2017-01-16 16:13:42 -03:00
Carlos Salguero
cec5e1f494 Updated tests for pt-query-digest 2017-01-16 15:02:05 -03:00
Carlos Salguero
c5e3d44faf bug-1604834 Added tests for --preserve-embedded-numbers 2016-10-03 19:22:46 -03:00
Carlos Salguero
2b5e82c27c Added --preserve-embedded-numbers. Still nedd to add tests 2016-08-23 12:59:54 -03:00
Frank Cizmich
5cc70d2b36 Merge pull request #95 from percona/bug-1402776
Bug-1402776
2016-06-13 16:15:57 -03:00
Carlos Salguero
78aa8c436e bug-1402776 Added test 2016-06-09 15:05:26 -03:00
Carlos Salguero
3313913fa7 BUG-1585412 Fixed Date parsing regex for MySQL 5.7
MySQL 5.7 general log dates are in RFC3339 format:
2006-01-02T15:04:05Z07:00
The previous version of the log parser was not able to parse
this format.
2016-06-08 17:11:36 -03:00
Frank Cizmich
e99bf0978e Merge pull request #61 from percona/pt-query-digest-no-vertical-format-PT-24
pt-query-digest - allow no-vertical-format option for mysql clients that don't support it
2016-03-16 17:39:30 -03:00
frank-cizmich
96aff694b1 fixed 5.7 tests for pt-query-digest and pt-show-grants and tweaked SqlMode for global 2016-01-12 18:18:59 -03:00
frank-cizmich
9f81fa5c4a allow no-vertical-format option for mysql clients that dont support it 2015-12-06 19:14:06 -03:00
frank-cizmich
b408fcfd01 misc test and sandbox fixes 2015-08-03 17:26:51 -03:00
Frank Cizmich
5e3eaa6c73 SlowLogParser leaved host empty when --skip-name-resolve was on. Now uses IP if empty - 1262456 2014-09-08 19:00:40 -03:00
Frank Cizmich
0691ec7e16 fixes pt-query-digest not being hable to handle 5.6 binlog files - issue 1335960 2014-07-02 17:55:31 -03:00
Daniel Nichter
589e7c30c1 Fix t/pqd/json.t. 2013-12-18 02:22:18 +00:00
Daniel Nichter
567c1f11e6 Add rate_limit to JSON output. 2013-11-27 18:42:20 -08:00
Daniel Nichter
c178934ab1 Combine '# Log_slow_rate_type: query Log_slow_rate_limit: 2' as 'query:2' and report as 'rate_limit' metric. 2013-11-27 18:25:55 -08:00
Daniel Nichter
57c234c89d Add Query_time to pqd JSON class example. 2013-10-09 17:54:25 -07:00
Daniel Nichter
c3ff530037 Add Query_time histogram to json output. 2013-08-16 18:21:57 -07:00
Daniel Nichter
7c3cd71cb3 Update/fix binlog_analyses.t for real. 2013-08-03 12:45:05 -07:00
Daniel Nichter
ba2545d4c6 Fix empty json report test. 2013-08-03 12:36:26 -07:00
Daniel Nichter
e192a90b77 Fix test for empty log when output is not json. 2013-08-03 12:18:04 -07:00
Daniel Nichter
6bea58572d Total fix for LOAD DATA distill in pqd. 2013-08-03 12:17:05 -07:00
Daniel Nichter
1ed23c7845 Update modules in pt-query-digest to fix bug 821692 and bug 984053. Replace HTTPMicro with HTTP::Micro. 2013-08-03 11:50:15 -07:00
Daniel Nichter
b14a478f3c Test --output json-anon. 2013-07-01 13:59:12 -07:00
Daniel Nichter
f4f381ab7f Move/rename JSON output samples. 2013-07-01 13:42:56 -07:00
Daniel Nichter
16e57a8fea Add --output json-anon that excludes query examples. 2013-07-01 13:38:34 -07:00
Daniel Nichter
fe40d88b0f Improve the test for bug 1176010. 2013-06-26 16:16:15 -07:00
Daniel Nichter
9b38740a54 Merge fix-1176010-pqd-grouping-quoted-vals. 2013-06-26 16:10:41 -07:00
Daniel Nichter
35f83428b1 Update pqd test samples. 2013-06-16 23:40:08 -07:00
Daniel Nichter
0736427bbf Megre pt-agent branch. 2013-06-16 23:23:11 -07:00
Daniel Nichter
c99cb3ba58 Add copy_paste attrib to each query's hash in the JSON output with SHOW TABLE STATUS, SHOW CREATE TABLE, and non-SELECT converted to SELECT for EXPLAIN. Fix typo: EA type is 'string' not 'str'. Add host, port, and ip type hints to pqd. 2013-05-20 16:44:44 -07:00
Daniel Nichter
41a4634edb Update JSONReportFormatter: report all str attribs; don't print "# No events processed" since that's not valid JSON; rename output.t to json.t. 2013-05-20 14:47:01 -07:00
Brian Fraser
5cce618f86 Fix for 1176010: pt-query-digest should know how to group quoted and unquoted database names 2013-05-03 10:19:42 -03:00
Brian Fraser
1dcc6904f3 pqd: Restore the --show-all option 2013-04-08 09:53:52 -03:00
Brian Fraser
2034823b95 Fix broken tests 2013-03-06 14:21:29 -03:00
Brian Fraser
91052e7198 Make some internal values show up nicer in --output json 2013-03-05 02:50:13 -03:00
Brian Fraser
1d9b013bab pqd: Removed show-all, shorten, select & print-iterations 2013-02-25 13:10:03 -03:00
Brian Fraser
8e449a1c83 pqd: Remove --type pglog, memcached, and http 2013-02-25 12:13:35 -03:00
Daniel Nichter
d9d641dea3 Fix t/pt-query-digest/samples/output_json_tcpdump021.txt. 2013-02-12 09:31:56 -07:00
Brian Fraser
6bf3a35a1a Merged use-lmo.
This commit renames our fork of Mo to Lmo, since the two have diverged
a huge deal. The merged branch streamlined Lmo a great deal as well,
for maintainability.
2013-02-11 21:19:56 -03:00
Daniel Nichter
c9aa9e8cbd Merge 2.1.9 fixes for pt-pmp. 2013-02-05 09:51:24 -07:00
Daniel Nichter
ea4dfa7605 Add Error_msg (but no Error_no) when client closes connection during handshake. 2013-02-01 10:58:27 -07:00
Daniel Nichter
572294540c Make 'Connect abort' errors just 'Connect' so all connect errors are lumped together. 2013-02-01 10:47:38 -07:00
Daniel Nichter
b3e5a1f0dd Fix "Error: none" issue for tcpdump logs. 2013-02-01 10:44:47 -07:00
Brian Fraser
3b6303f421 Updated explain samples for 5.1 2013-01-30 17:21:26 -03:00
Brian Fraser
541db4994e Updated explain samples for 5.0 2013-01-30 17:17:02 -03:00
Daniel Nichter
9e7248861d Catch and report aborted connects. 2013-01-28 14:12:48 -07:00
Daniel Nichter
15b1c43874 Fix and test parser_error_packet() for non-SQL errors. 2013-01-25 11:24:35 -07:00
Brian Fraser fraserb@gmail.com
d1bdd4d80c Make pqd --output json have flags to enable sorted keys and prettyfied JSON 2013-01-24 12:00:48 -03:00
Brian Fraser fraserb@gmail.com
4a06dc2008 Updated samples to get rid of the extra InnoDB: line removed by the refactoring 2013-01-18 10:20:59 -03:00