This will be passed as-is to MongoDB. You may use this to select (for example) hits against a specific URL, or requests that invoked MongoCollection::find() more than 3 times.
{"meta.url" : "/index.php"}
Display runs that took more than 1 second{ "profile.main().wt" : {"$gt" : 1000000}}
It's unlikely you require the full dataset back, this allows you to grab just the values you care about to reduce transferred data.
{"meta" : true, "profile.main()" : true}
These are things that should end up on the graph
Array
(
[_id] => 69c02e306d65dc06d4de3d67
[meta] => Array
(
[url] =>
[SERVER] => Array
(
[SERVER_NAME] => localhost
[SERVER_ADDR] => 127.0.0.1
[REMOTE_ADDR] => 192.168.0.1
[REQUEST_METHOD] => POST
[PHP_SELF] =>
[REQUEST_TIME_FLOAT] => 1774202416.4901
[REQUEST_TIME] => 1774202416
)
[get] => Array
(
)
[env] => Array
(
[USER] => www-data
[HOME] => /var/www
[CONTENT_LENGTH] => 0
[CONTENT_TYPE] => application/x-www-form-urlencoded
[SERVER_PROTOCOL] => HTTP/1.1
[SERVER_NAME] => localhost
[SERVER_PORT] => 80
[SERVER_ADDR] => 127.0.0.1
[REMOTE_PORT] => 9985
[REMOTE_ADDR] => 192.168.0.1
[SERVER_SOFTWARE] => hollodotme/fast-cgi-client
[SCRIPT_FILENAME] => /dev/shm/cachetool-69c02e30741615.30354332.php
[REQUEST_URI] =>
[REQUEST_METHOD] => POST
[GATEWAY_INTERFACE] => FastCGI/1.0
[FCGI_ROLE] => RESPONDER
[PHP_SELF] =>
[REQUEST_TIME_FLOAT] => 1774202416.4901
[REQUEST_TIME] => 1774202416
[argv] => Array
(
)
[argc] => 0
)
[simple_url] =>
[request_ts] => 1774202416
[request_ts_micro] => 1774202416.4901
[request_date] => 2026-03-22
)
[profile] => Array
(
[main()==>Xhgui\Profiler\Profiler::registerShutdownHandler] => Array
(
[ct] => 1
[wt] => 6
[cpu] => 0
[mu] => 1736
[pmu] => 176
)
[main()==>load::shm/cachetool-69c02e30741615.30354332.php] => Array
(
[ct] => 1
[wt] => 115
[cpu] => 0
[mu] => 5976
[pmu] => 42704
)
[main()==>{closure}] => Array
(
[ct] => 1
[wt] => 8
[cpu] => 0
[mu] => 520
[pmu] => 0
)
[Xhgui\Profiler\Profiler::shutDown==>Xhgui\Profiler\Profiler::flush] => Array
(
[ct] => 1
[wt] => 42
[cpu] => 0
[mu] => -7232
[pmu] => 0
)
[Xhgui\Profiler\Profiler::disable==>Xhgui\Profiler\ProfilingData::__construct] => Array
(
[ct] => 1
[wt] => 8
[cpu] => 0
[mu] => 584
[pmu] => 0
)
[Xhgui\Profiler\Profiler::disable==>Xhgui\Profiler\Profilers\XHProf::disable] => Array
(
[ct] => 1
[wt] => 2
[cpu] => 0
[mu] => 584
[pmu] => 0
)
[Xhgui\Profiler\Profiler::stop==>Xhgui\Profiler\Profiler::disable] => Array
(
[ct] => 1
[wt] => 21
[cpu] => 0
[mu] => 1960
[pmu] => 0
)
[Xhgui\Profiler\Profiler::shutDown==>Xhgui\Profiler\Profiler::stop] => Array
(
[ct] => 1
[wt] => 25
[cpu] => 0
[mu] => 2592
[pmu] => 0
)
[main()==>Xhgui\Profiler\Profiler::shutDown] => Array
(
[ct] => 1
[wt] => 77
[cpu] => 0
[mu] => -3640
[pmu] => 0
)
[main()] => Array
(
[ct] => 1
[wt] => 253
[cpu] => 423
[mu] => 4512
[pmu] => 42944
)
)
)