Documentation

NoopSpan
in package
implements RequestSpan

Interfaces, Classes, Traits and Enums

RequestSpan
Represents a span of time an event occurs over.

Table of Contents

$instance  : NoopSpan|null
addTag()  : void
Adds a tag to this span.
end()  : void
Ends this span.
getInstance()  : NoopSpan
setStatus()  : void
Sets the status for this span.

Properties

Methods

addTag()

Adds a tag to this span.

public addTag(string $key, int|string $value) : void
Parameters
$key : string

The key of the tag to add.

$value : int|string

The value to assign to the tag.

Return values
void

end()

Ends this span.

public end([int|null $endTimestampNanoseconds = null ]) : void
Parameters
$endTimestampNanoseconds : int|null = null
Return values
void

setStatus()

Sets the status for this span.

public setStatus(StatusCode $statusCode) : void
Parameters
$statusCode : StatusCode

The status to set.

Return values
void

        

Search results