function TraceStateInterface::get
Return the value of a given key from this TraceState if it exists
Return value
string|null
1 method overrides TraceStateInterface::get()
- TraceState::get in vendor/
open-telemetry/ api/ Trace/ TraceState.php - Return the value of a given key from this TraceState if it exists
File
-
vendor/
open-telemetry/ api/ Trace/ TraceStateInterface.php, line 44
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 get(string $key) : ?string;