function Span::getStatus
An optional final status for this span. Semantically when Status isn't set, it means span's status code is unset, i.e. assume STATUS_CODE_UNSET (code = 0).
Generated from protobuf field <code>.opentelemetry.proto.trace.v1.Status status = 15;</code>
Return value
\Opentelemetry\Proto\Trace\V1\Status|null
File
-
vendor/
open-telemetry/ gen-otlp-protobuf/ Opentelemetry/ Proto/ Trace/ V1/ Span.php, line 788
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 getStatus() {
return $this->status;
}