Documentation

RequestTracer

Represents a tracer capable of creating trace spans.

Table of Contents

close()  : void
requestSpan()  : RequestSpan
Creates a new request span.

Methods

requestSpan()

Creates a new request span.

public requestSpan(string $name[, RequestSpan|null $parent = null ][, int|null $startTimestampNanoseconds = null ]) : RequestSpan
Parameters
$name : string

The name of the span.

$parent : RequestSpan|null = null

The parent of the span, if one exists.

$startTimestampNanoseconds : int|null = null

The start timestamp of the span in nanoseconds.

Tags
throws
TracerException
Return values
RequestSpan

        

Search results