/**
  * @param Application $app
  */
 public function onStartup(Application $app)
 {
     $_ENV['APP_STARTUP_TIME_FLOAT'] = microtime(TRUE);
     $this->client->disableAutorum();
     $this->client->customTimeMetric('Nette/CompilationTime', $_ENV['COMPILATION_TIME_FLOAT'], $_ENV['REQUEST_TIME_FLOAT']);
     $this->client->customTimeMetric('Nette/StartupTime', $_ENV['APP_STARTUP_TIME_FLOAT'], $_ENV['COMPILATION_TIME_FLOAT']);
     $this->client->addCustomTracer('Nette\\Application\\Routers\\RouteList::match');
     $this->client->addCustomTracer('Nette\\Application\\UI\\Presenter::createRequest');
     $this->client->addCustomTracer('Nette\\Application\\UI\\Presenter::run');
     $this->client->addCustomTracer('Nette\\Application\\Responses\\TextResponse::send');
     $this->client->addCustomTracer('Doctrine\\ORM\\EntityManager::flush');
 }