Server usage trace event has following parameters and tokens:
1. Job parameters
These parameters are used to calculate start and end time of the job. Use microtime(true) to set these values.
$start_time - job start time. $end_time - job end time.
2. Job tokens
[%$job.name%] - job name.
[%$job.scriptfile%] - path to file from which the job is executed.
[%$job.time.start%] - start time of the job calculated as date('H:i:s')
[%$job.time.finish%] - end time of the job calculated as date('H:i:s')
[%$job.time.total%] - total job execution time in seconds
[%$job.memory.current%] - PHP memory usage at the moment when event fired
[%$job.memory.peak%] - PHP maximum memory usage during current script execution
[%$job.user.name%] - OS user which has run the script($_ENV['USER'])
[%$job.env_vars%] - $_ENV array
[%$job.included_files%] - list of all the files which had been included when event fired