Daniel Nichter
|
a7d76311b0
|
Fix crash due to bad localization of var. Update post-install message.
|
2013-06-14 14:21:21 -07:00 |
|
Daniel Nichter
|
2d594617da
|
Enable output autoflush in install() so install steps work correctly.
|
2013-06-14 13:54:20 -07:00 |
|
Daniel Nichter
|
125feff82a
|
Fix typo.
|
2013-06-14 13:51:45 -07:00 |
|
Daniel Nichter
|
bc70912fe8
|
Update Logger in pt-agent.
|
2013-06-14 13:50:30 -07:00 |
|
Daniel Nichter
|
a26792e2fd
|
New --install output: quieter, more consistent.
|
2013-06-14 13:49:58 -07:00 |
|
Daniel Nichter
|
f49bbde71b
|
Pass --interactive to instal().
|
2013-06-14 12:27:26 -07:00 |
|
Daniel Nichter
|
62648bf213
|
First attempt at detecting MySQL restart.
|
2013-06-14 11:19:11 -07:00 |
|
Daniel Nichter
|
e1a911e0a9
|
Pass quiet to init_lib() for --run-service and --send-data so crontab doesn't mail root.
|
2013-06-13 22:08:24 -07:00 |
|
Daniel Nichter
|
9b6ff10682
|
Fix/clarify --status warnings about services running or not.
|
2013-06-13 21:17:16 -07:00 |
|
Daniel Nichter
|
5b4f7086aa
|
Fix "Can't call method "meta" on unblessed reference" error.
|
2013-06-13 21:12:50 -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
|
652d95248d
|
Rename run_services() to apply_services() to stop confusing myself.
|
2013-06-12 20:30:03 -07:00 |
|
Daniel Nichter
|
c97d3a9fbc
|
Add new output types: join, store:output, and store:key_value_tuple. Save run_time for query tasks. Call run_services_once() before run_services(). Change meta.ts to meta.data_ts. Call replace_special_vars() for queries.
|
2013-06-12 20:09:36 -07:00 |
|
Daniel Nichter
|
e51c7a9c8c
|
Tweak output of --send-data --interactive.
|
2013-06-12 10:54:35 -07:00 |
|
Daniel Nichter
|
506aa3bc75
|
Fix --data-send --interacctive again: I forget chomp() doesn't return the new value like lc().
|
2013-06-12 09:20:42 -07:00 |
|
Daniel Nichter
|
b5b1325d20
|
Fix typo.
|
2013-06-12 09:17:11 -07:00 |
|
Daniel Nichter
|
81cfd3ccde
|
Fix response cooking.
|
2013-06-12 09:04:30 -07:00 |
|
Daniel Nichter
|
974fe3dd59
|
ls -l the data file before prompting to send it.
|
2013-06-12 09:00:59 -07:00 |
|
Daniel Nichter
|
5707108008
|
Don't decode server's error message yet since it seems not to work.
|
2013-06-12 08:59:35 -07:00 |
|
Daniel Nichter
|
b1d3238764
|
Add a repose to --send-data --interactive.
|
2013-06-12 08:58:21 -07:00 |
|
Daniel Nichter
|
f5d9fb08e1
|
Make --interactcive disable --log-api.
|
2013-06-12 08:45:46 -07:00 |
|
Daniel Nichter
|
61041fa8fa
|
Handle server messages as array or single string.
|
2013-06-12 08:35:34 -07:00 |
|
Daniel Nichter
|
83ef2bd1fd
|
Fix getting MySQL version.
|
2013-06-11 19:19:50 -07:00 |
|
Daniel Nichter
|
a424b212fd
|
Remove XXX hack from pqd that makes it write every thing it reads to /tmp/slow.log* files.
|
2013-06-11 18:49:38 -07:00 |
|
Daniel Nichter
|
55ef1abacf
|
Add run_time to metadata.
|
2013-06-11 13:32:03 -07:00 |
|
Daniel Nichter
|
58cddd28ef
|
Fix online_logging argument because --log-api returns 'yes' but --no-log-api returns 0.
|
2013-06-11 11:13:25 -07:00 |
|
Daniel Nichter
|
a54f59626f
|
Fix send_data() and run_services(). Add --interactive. Print message about starting online logging in start_online_logging() to avoid false-positive. eval send_data() and run_service() to catch spurious errors.
|
2013-06-11 11:11:11 -07:00 |
|
Daniel Nichter
|
d15731c4c3
|
Remove --log-level and add --log-api to control online logging.
|
2013-06-11 10:39:46 -07:00 |
|
Daniel Nichter
|
b40db4ac7b
|
Allow online logging to be disabled.
|
2013-06-11 10:36:42 -07:00 |
|
Daniel Nichter
|
116adafbef
|
Fix parsing server error message. Add 'sending' and 'running' suffixes to service names.
|
2013-06-11 10:11:58 -07:00 |
|
Daniel Nichter
|
058bc30e27
|
Actually include the n_lines in the log entry line.
|
2013-06-10 20:15:16 -07:00 |
|
Daniel Nichter
|
4db9aac13b
|
Fix typo in run_services(). Print random stuff on STDERR as warnings.
|
2013-06-10 20:11:03 -07:00 |
|
Daniel Nichter
|
8641d55a4e
|
Fix log entry line regex.
|
2013-06-10 20:02:32 -07:00 |
|
Daniel Nichter
|
bee0c7a5f1
|
Handle multi-line log events.
|
2013-06-10 19:59:39 -07:00 |
|
Daniel Nichter
|
6e3ba2ce24
|
Make Logger data_ts and service attribs rw.
|
2013-06-09 20:05:54 -07:00 |
|
Daniel Nichter
|
317b7d538b
|
Set logger service and data_ts.
|
2013-06-09 20:03:15 -07:00 |
|
Daniel Nichter
|
2b6097028d
|
Use online logging for --run-service.
|
2013-06-09 19:53:54 -07:00 |
|
Daniel Nichter
|
ad4e9a9207
|
Fix pipe handling so all log entries are written.
|
2013-06-09 19:29:52 -07:00 |
|
Daniel Nichter
|
aadb5dbd80
|
Queue buffered log entries when destroyed.
|
2013-06-09 17:33:01 -07:00 |
|
Daniel Nichter
|
0b16c02468
|
Don't GET the log link, just use it.
|
2013-06-09 17:18:34 -07:00 |
|
Daniel Nichter
|
8eff03c294
|
Add pid to LogEntry. Use online logging for --send-data.
|
2013-06-09 17:15:16 -07:00 |
|
Daniel Nichter
|
34bc178cd8
|
Rewrite Logger using pipes because Perl threads cause a small memory leak.
|
2013-06-09 15:53:35 -07:00 |
|
Daniel Nichter
|
e26a8744ef
|
Queue and log all entries online.
|
2013-06-09 11:54:10 -07:00 |
|
Daniel Nichter
|
bcb3758f64
|
Make Percona/Agent/Logger always log online.
|
2013-06-09 10:31:56 -07:00 |
|
Daniel Nichter
|
490a8a7c90
|
Don't crash if disk space check fails.
|
2013-06-09 09:53:10 -07:00 |
|
Daniel Nichter
|
4b0c9ff937
|
Merge fix-pt-osc-drop-bug-1188002.
|
2013-06-07 14:02:16 -07:00 |
|
Daniel Nichter
|
df0eb984d7
|
Don't drop new table if there are any @triggers_not_dropped.
|
2013-06-07 13:51:29 -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
|
912d648922
|
Hack JSON output back to original struct so pt-agent works with server until server can understand the new data struct.
|
2013-05-28 20:03:19 -07:00 |
|
Daniel Nichter
|
2dbe188d5b
|
Add service, data_ts, and entry_ts to LogEntry resource. Add corresponding attribs to Logger, as well as queue_wait.
|
2013-05-28 20:00:59 -07:00 |
|