public function testIgnoreApdex() { $handler = $this->getHandlerSpy('newrelic_ignore_apdex', array()); $agent = new Newrelic(false, $handler); $this->assertNull($agent->ignoreApdex()); }
/** * Do not generate Apdex metrics for this transaction. This is useful when you have either very short or very long * transactions (such as file downloads) that can skew your apdex score. * * @return mixed * @static */ public static function ignoreApdex() { return \Intouch\Newrelic\Newrelic::ignoreApdex(); }