Tolerance\Tracer\Span\Span::getDebug PHP Method

getDebug() public method

public getDebug ( ) : boolean | null
return boolean | null
    public function getDebug()
    {
        return $this->debug;
    }

Usage Example

 /**
  * @param Response $response
  * @param Span     $originalSpan
  *
  * @return Span
  */
 public function fromOutgoingResponse(Response $response, Span $originalSpan)
 {
     $timestamp = $this->clock->microseconds();
     return new Span($originalSpan->getIdentifier(), $originalSpan->getName(), $originalSpan->getTraceIdentifier(), [new Annotation(Annotation::SERVER_SEND, $timestamp, $this->endpointResolver->resolve())], [new BinaryAnnotation('http.status', $response->getStatusCode(), BinaryAnnotation::TYPE_INTEGER_16)], $originalSpan->getParentIdentifier(), $originalSpan->getDebug(), $originalSpan->getTimestamp(), $timestamp - $originalSpan->getTimestamp());
 }
All Usage Examples Of Tolerance\Tracer\Span\Span::getDebug