interface RequestSpan (View source)

Represents a span of time an event occurs over.

Methods

void
addTag(string $key, int|string $value)

Adds an tag to this span.

void
end()

Ends this span.

Details

void addTag(string $key, int|string $value)

Adds an tag to this span.

Parameters

string $key

The key of the tag to add.

int|string $value

The value to assign to the tag.

Return Value

void

void end()

Ends this span.

Return Value

void