public function testIgnoreApdex()
 {
     $handler = $this->getHandlerSpy('newrelic_ignore_apdex', array());
     $agent = new Newrelic(false, $handler);
     $this->assertNull($agent->ignoreApdex());
 }
Beispiel #2
0
 /**
  * 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();
 }