function TraceStateInterface::toString
Returns the concatenated string representation.
Parameters
int|null $limit maximum length of the returned representation:
Return value
string the string representation
See also
https://www.w3.org/TR/trace-context/#tracestate-limits
1 method overrides TraceStateInterface::toString()
- TraceState::toString in vendor/
open-telemetry/ api/ Trace/ TraceState.php - Returns the concatenated string representation.
File
-
vendor/
open-telemetry/ api/ Trace/ TraceStateInterface.php, line 61
Class
- TraceStateInterface
- TraceState parses and stores the tracestate header as an immutable list of string key/value pairs. It provides the following operations following the rules described in the W3C Trace Context specification:
Namespace
OpenTelemetry\API\TraceCode
public function toString(?int $limit = null) : string;