We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd80cb8 commit 3cb73ffCopy full SHA for 3cb73ff
Newrelic.php
@@ -2,8 +2,6 @@
2
3
namespace bazilio\yii\newrelic;
4
5
-require_once __DIR__ . '/vendor/autoload.php';
6
-
7
use bazilio\yii\newrelic\handlers\BaseHandler;
8
use bazilio\yii\newrelic\handlers\ConsoleHandler;
9
use bazilio\yii\newrelic\handlers\WebHandler;
handlers/ConsoleHandler.php
@@ -14,6 +14,7 @@ public function bootstrap($app)
14
Application::EVENT_AFTER_ACTION,
15
function () use ($app) {
16
foreach ($app->requestedParams as $key => $value) {
17
+ $this->getAgent()->backgroundJob();
18
$this->getAgent()->addCustomParameter($key, (string)$value);
19
}
20
0 commit comments