interface RequestTracer (View source)

Represents a tracer capable of creating trace spans.

Methods

requestSpan(string $name, RequestSpan $parent = null)

Creates a new request span.

Details

requestSpan(string $name, RequestSpan $parent = null)

Creates a new request span.

Parameters

string $name

The name of the span.

RequestSpan $parent

The parent of the span, if one exists.