Commit Graph

1070 Commits

Author SHA1 Message Date
Daniel Nichter
a8da9c268a Fix t/pt-agent/schedule_services.t. 2013-01-30 16:55:42 -07:00
Daniel Nichter
07da85bb75 Clarify a code comment. 2013-01-30 16:46:36 -07:00
Daniel Nichter
f7813c9495 Fix t/pt-agent/make_new_crontab.t. 2013-01-30 16:44:22 -07:00
Daniel Nichter
7331a7f857 Fix t/pt-agent/send_data.t. 2013-01-30 16:28:41 -07:00
Daniel Nichter
9cc3c81143 Fix init_agent.t. 2013-01-30 15:52:26 -07:00
Daniel Nichter
82601d38e6 Merge simplify-pqd r549. 2013-01-30 13:33:47 -07:00
Daniel Nichter
bf92ce765d Update/fix pt-agent to work with new Service.run_schedule and Service.spool_schedule attribs. 2013-01-30 13:25:21 -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
Brian Fraser fraserb@gmail.com
457d61edfe Fix a broken test and make another more resilient to future changes 2013-01-24 12:11:11 -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
b21baeb5d8 pqd: Changed --resume to take a filename, added tests 2013-01-22 19:33:11 -03:00
Brian Fraser fraserb@gmail.com
8c5d8e4d3d t/pt-query-digest/issue_360.t: use --review-table 2013-01-21 13:20:10 -03:00
Brian Fraser fraserb@gmail.com
9dd124038b pqd: Merge --review-history into --review, added --review-table & --history-table 2013-01-21 12:40:46 -03:00
Daniel Nichter
57722889cb Add slow057.txt which has many distinct Time values. 2013-01-19 11:15:25 -07:00
Daniel Nichter
47f09d427a Merge simplify-pqd r542. 2013-01-18 18:29:38 -07:00
Daniel Nichter
06ce6e012e Fix --resume. 2013-01-18 17:44:07 -07:00
Daniel Nichter
fcb5a0c0f8 Merge lp:~percona-toolkit-dev/percona-toolkit/simplify-pqd r541. 2013-01-18 16:21:10 -07: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
Brian Fraser fraserb@gmail.com
86f9e302f5 Updated samples for t/pqd/output.t 2013-01-17 19:44:18 -03:00
Daniel Nichter
8f59c9f357 Change --check-spool to --send-data, and Run->schedule to Run->run_schedule. Add Run->spool_schedule and Run->queries. Remove Service->alias. 2013-01-14 15:02:07 -07: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
Brian Fraser fraserb@gmail.com
5e5763f82a Partially Moified QueryReportFormatter, split event_report and query_report into two different subs; one that gets the values to print, and one that formats things 2013-01-14 12:52:23 -03:00
Brian Fraser fraserb@gmail.com
e5d17af0fe Mo'ified and minimally simplified ReportFormatter 2013-01-14 12:49:55 -03:00
Brian Fraser
a1f1e4ae28 pqd: Removed --table-access 2013-01-11 14:59:23 -03:00
Brian Fraser
d0d8c59042 pqd: Remove --statistics, --pipeline-profile & --fingerprints, make them part of PTDEBUG 2013-01-11 14:52:42 -03:00
Brian Fraser
4fc66a08d3 pqd: Remove sparklines 2013-01-11 13:45:20 -03:00
Brian Fraser
5495945c7e EventAggregator: Remove apdex code 2013-01-11 13:24:02 -03:00
Brian Fraser
944b2039d3 pqd: Stop reporting apdex scores 2013-01-11 13:20:39 -03:00
Brian Fraser
e925a239ff pqd: Removed --execute, --execute-throttle & --mirror 2013-01-11 13:20:19 -03:00
Daniel Nichter
526437632c Implement and test --check-spool. Make Mock/UserAgent save put and post data in an array. Make Percona/WebAPI/Client accept ready-made text resources, for multi-part resources. 2013-01-08 18:49:42 -07:00
Daniel Nichter
d68301f293 Implement and test pt-agent --run-service. 2013-01-08 13:19:55 -07:00
Daniel Nichter
f28aa90436 Finish writing and testing service scheduling code. 2013-01-08 10:55:58 -07:00
Daniel Nichter
d7f49dee8a Start writing and testing schedule_services(). 2013-01-07 17:52:37 -07:00
Daniel Nichter
0495f9aa8a Test and implement more run_agent(). Fix as_json() for lists of resources. Add alias attrib to Service for its friendly name; make name its code-friendly name. Fix ts in log messages. 2012-12-26 17:44:19 -07:00
Daniel Nichter
66fb54e793 Fix Client to expect X-Percona-Resource-Type else links. Add headers to Mock/UserAgent. Start testing run_agent(). As TO_JSON() magic to Run so encode can encode Service contain blessed Run objs. Use BUILDARGS to convert Run as hashref to real objs. 2012-12-26 13:00:46 -07:00
Daniel Nichter
87080d44b2 Fix WebAPI::Client to always expect links: in reponse. 2012-12-26 09:16:53 -07:00
Daniel Nichter
5051abc7ec Partly working and tested pt-agent. Fix Percona/WebAPI/Client.pm. Add Percona/WebAPI/Util.pm, Percona/Test.pm, and /Test/Mock/UserAgent.pm. 2012-12-25 19:40:42 -07:00
Daniel Nichter
9241c27b7c Almost working pt-agent main process. Clean up HTTP::Micro. Add Percona/WebAPI/Util, and some basic Percona/WebAPI/Representation tests. 2012-12-25 16:51:18 -07:00
Daniel Nichter
861cc8fd96 Merge mo-cleanup -r520..524. 2012-12-24 14:41:20 -07:00
Daniel Nichter
593e64e6ec Begin to fill in pt-agent. Use new, experimental Percona::Toolkit. Remove Versions resource; add as optional attrib to Agent resource. 2012-12-24 13:17:48 -07:00
Brian Fraser
472d850be2 t/lib/VersionCheck.t: Add ourselves first to the PATH, not last, to avoid conflicts with installed versions of the toolkit 2012-12-21 12:30:54 -03:00
Brian Fraser
4f010f52dc t/lib/Percona/Toolkit.t: Test Percona::Toolkit::VERSION differently to avoid a bug in Centos 5.6 2012-12-21 09:07:21 -03:00
Daniel Nichter
e13b480116 Merge remove-3-tools 2012-12-20 17:27:38 -07:00
Daniel Nichter
bc3fb2c812 Make timing test more reasonable on fast systems. 2012-12-20 16:18:15 -07:00
Daniel Nichter
2f413383ef Update SchemaIterator.t sample files. 2012-12-20 23:08:55 +00:00
Daniel Nichter
dad38169bf Remove ndb_binlog_index from auto-skipped sys tables in SchemaIterator because it wasn't previously skipped in 5.1 and 5.5. 2012-12-20 23:05:06 +00:00
Brian Fraser
55ec4f67db t/pt-find/pt-find.t: Update plan 2012-12-20 13:55:38 -03:00
Brian Fraser
6f6a984cde t/pt-heartbeat/bugs.t: Wait for test.heartbeat in slave1 before testing 2012-12-19 13:53:13 -03:00
Brian Fraser
42484ecd10 Merged mysql-5.6-test-fixes and resolved conflicts 2012-12-19 13:47:54 -03:00