Commit Graph

14 Commits

Author SHA1 Message Date
Daniel Nichter
fc420ea88e Remove code to handle metadata; instead, let tasks handle metadata and simply concat and send any service.meta.* files/values. Prefix run files with a ts to allow for concurrent runs of the same service. 2013-05-01 20:19:42 -07:00
Daniel Nichter
0e9e897791 Use 'Content-Type: multipart/form-data; boundary=Ym91bmRhcnk' to send multi-part data. 2013-03-21 07:52:21 -06:00
Daniel Nichter
846daa6c31 Fix/update/test sending data. Rename query-monitor to query-server in tests. 2013-03-19 16:35:37 -06:00
Daniel Nichter
5a65305a47 Update pt-agent to run tasks not runs. 2013-03-19 15:37:55 -06:00
Daniel Nichter
9afa462cc2 Fix/update t/pt-agent/run_agent.t. 2013-03-19 14:56:53 -06:00
Daniel Nichter
5e362d9e4b Fix write_services.t samples. Make send_data.t deterministic. 2013-01-31 17:14:32 -07:00
Daniel Nichter
3f4a02e1fb Update pt-agent to implement new specs. 2013-01-31 17:00:38 -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
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
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