Sveta Smirnova
17820dbf23
PR-471 - Support adding explain output for slow query in JSON report as well
...
- Put fix into the proper place
- Added test cases
2023-11-06 17:21:28 +03:00
Viktor Szépe
2bd40d8c39
Remove trailing spaces ( #665 )
...
* Remove trailing spaces
* PR-665 - Remove trailing spaces
- Updated not stable test t/pt-online-schema-change/preserve_triggers.t
- Updated utilities in bin directory
* PR-665 - Remove trailing spaces
- Fixed typos
* PR-665 - Remove trailing spaces
- Fixed typos
---------
Co-authored-by: Sveta Smirnova <sveta.smirnova@percona.com >
2023-09-06 01:15:12 +03:00
Viktor Szépe
c57441be8c
War on typos Act 1 ( #655 )
...
* Fix typos in lib/ directory
* Update generated bin/ files
* PR 655 - War on typos Act 1 #655
- Updated modules in tools that were not updated
- Fixed tests to reflect proposed changes
---------
Co-authored-by: Sveta Smirnova <sveta.smirnova@percona.com >
2023-08-22 16:18:38 +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
Daniel Nichter
567c1f11e6
Add rate_limit to JSON output.
2013-11-27 18:42:20 -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
b14a478f3c
Test --output json-anon.
2013-07-01 13:59:12 -07:00
Daniel Nichter
16e57a8fea
Add --output json-anon that excludes query examples.
2013-07-01 13:38:34 -07:00
Daniel Nichter
1496dd0aa5
Remove Rows_affected for SELECT|SHOW|SET|ADMIN in JSONReportFormatter.
2013-06-15 11:04:25 -07:00
Daniel Nichter
a593d1dab9
Add and use max_query_length and max_fingerprint_length for JSONReportFormatter: 10_000 and 5_000 chars. Report Query_length (aka bytes).
2013-06-13 16:33:46 -07:00
Daniel Nichter
f583ec6113
Update pqd so it works, sends actual new data struct.
2013-06-06 13:37:16 -05:00
Daniel Nichter
95474b1669
Implement new JSON data struct in pqd.
2013-05-22 19:40:33 -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
91052e7198
Make some internal values show up nicer in --output json
2013-03-05 02:50:13 -03:00
Brian Fraser fraserb@gmail.com
809164becd
Change the Report modules to use Lmo
2013-02-01 14:06:13 -03:00
Brian Fraser
5fd8042e35
Updated JSONReportFormatter to drop the hard dependency on JSON.xs and use Transformers::encode_json if JSON is not available
2013-01-30 17:56:19 -03:00
Brian Fraser
98f490492c
Change JSONReportFormatter to handle versions of JSON.pm that don't add a newline at the end of the encoded json
2013-01-30 17:47:41 -03: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
41f440518f
Fixed the precisions for numbers in the json output
2013-01-17 19:40:58 -03:00
Brian Fraser
1f7e1c12e2
lib/JSONReportFormatter.pm: Change the json output struct to the new spec
2013-01-16 16:46:40 -03:00
Brian Fraser fraserb@gmail.com
e8a8ebbcac
Changed the JSON output
2013-01-16 07:59:19 -03:00
Brian Fraser fraserb@gmail.com
3c63750c9b
Added JSONReportFormatter, a subclass of QueryReportFormatter that does what it says on the tin. WIP as it does not report profile or prepared statement data yet
2013-01-14 13:20:35 -03:00