function Span::getName
Same name in this branch
- 11.1.x vendor/open-telemetry/sdk/Trace/Span.php \OpenTelemetry\SDK\Trace\Span::getName()
A description of the span's operation. For example, the name can be a qualified method name or a file name and a line number where the operation is called. A best practice is to use the same display name at the same call point in an application. This makes it easier to correlate spans in different traces. This field is semantically required to be set to non-empty string. Empty value is equivalent to an unknown span name. This field is required.
Generated from protobuf field <code>string name = 5;</code>
Return value
string
File
-
vendor/
open-telemetry/ gen-otlp-protobuf/ Opentelemetry/ Proto/ Trace/ V1/ Span.php, line 472
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 getName() {
return $this->name;
}