mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-13 14:39:28 +00:00
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.
This commit is contained in:
7
t/pt-agent/samples/query-monitor/data001
Normal file
7
t/pt-agent/samples/query-monitor/data001
Normal file
@@ -0,0 +1,7 @@
|
||||
[
|
||||
{
|
||||
query_id: 1,
|
||||
arg: "select * from t where id = 1",
|
||||
Query_time: 0.123456,
|
||||
}
|
||||
]
|
9
t/pt-agent/samples/query-monitor/data001.send
Normal file
9
t/pt-agent/samples/query-monitor/data001.send
Normal file
@@ -0,0 +1,9 @@
|
||||
{"id":"123","hostname":"prod1"}
|
||||
--Ym91bmRhcnk=
|
||||
[
|
||||
{
|
||||
query_id: 1,
|
||||
arg: "select * from t where id = 1",
|
||||
Query_time: 0.123456,
|
||||
}
|
||||
]
|
Reference in New Issue
Block a user