function ScopeSpans::getScope
The instrumentation scope information for the spans in this message. Semantically when InstrumentationScope isn't set, it is equivalent with an empty instrumentation scope name (unknown).
Generated from protobuf field <code>.opentelemetry.proto.common.v1.InstrumentationScope scope = 1;</code>
Return value
\Opentelemetry\Proto\Common\V1\InstrumentationScope|null
File
-
vendor/
open-telemetry/ gen-otlp-protobuf/ Opentelemetry/ Proto/ Trace/ V1/ ScopeSpans.php, line 74
Class
- ScopeSpans
- A collection of Spans produced by an InstrumentationScope.
Namespace
Opentelemetry\Proto\Trace\V1Code
public function getScope() {
return $this->scope;
}