function Span::setParentSpanId
The `span_id` of this span's parent span. If this is a root span, then this field must be empty. The ID is an 8-byte array.
Generated from protobuf field <code>bytes parent_span_id = 4;</code>
Parameters
string $var:
Return value
$this
File
-
vendor/
open-telemetry/ gen-otlp-protobuf/ Opentelemetry/ Proto/ Trace/ V1/ Span.php, line 395
Class
- Span
- A Span represents a single operation performed by a single component of the system. The next available field id is 17.
Namespace
Opentelemetry\Proto\Trace\V1Code
public function setParentSpanId($var) {
GPBUtil::checkString($var, False);
$this->parent_span_id = $var;
return $this;
}