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] => 69c02e30dd70bbe683e6d803
[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.4743
[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-69c02e30735360.02363587.php
[REQUEST_URI] =>
[REQUEST_METHOD] => POST
[GATEWAY_INTERFACE] => FastCGI/1.0
[FCGI_ROLE] => RESPONDER
[PHP_SELF] =>
[REQUEST_TIME_FLOAT] => 1774202416.4743
[REQUEST_TIME] => 1774202416
[argv] => Array
(
)
[argc] => 0
)
[simple_url] =>
[request_ts] => 1774202416
[request_ts_micro] => 1774202416.4743
[request_date] => 2026-03-22
)
[profile] => Array
(
[main()==>Xhgui\Profiler\Profiler::registerShutdownHandler] => Array
(
[ct] => 1
[wt] => 5
[cpu] => 0
[mu] => 1736
[pmu] => 176
)
[main()==>load::shm/cachetool-69c02e30735360.02363587.php] => Array
(
[ct] => 1
[wt] => 145
[cpu] => 370
[mu] => 6144
[pmu] => 42848
)
[main()==>{closure}] => Array
(
[ct] => 1
[wt] => 2
[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] => 5
[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] => 16
[cpu] => 0
[mu] => 1960
[pmu] => 0
)
[Xhgui\Profiler\Profiler::shutDown==>Xhgui\Profiler\Profiler::stop] => Array
(
[ct] => 1
[wt] => 19
[cpu] => 0
[mu] => 2592
[pmu] => 0
)
[main()==>Xhgui\Profiler\Profiler::shutDown] => Array
(
[ct] => 1
[wt] => 68
[cpu] => 0
[mu] => -3640
[pmu] => 0
)
[main()] => Array
(
[ct] => 1
[wt] => 277
[cpu] => 494
[mu] => 4680
[pmu] => 43088
)
)
)