function InstrumentationLibrarySpans::getSpans
A list of Spans that originate from an instrumentation library.
Generated from protobuf field <code>repeated .opentelemetry.proto.trace.v1.Span spans = 2;</code>
Return value
\Google\Protobuf\Internal\RepeatedField
File
-
vendor/
open-telemetry/ gen-otlp-protobuf/ Opentelemetry/ Proto/ Trace/ V1/ InstrumentationLibrarySpans.php, line 109
Class
- InstrumentationLibrarySpans
- A collection of Spans produced by an InstrumentationLibrary. InstrumentationLibrarySpans is wire-compatible with ScopeSpans for binary Protobuf format. This message is deprecated and will be removed on June 15, 2022.
Namespace
Opentelemetry\Proto\Trace\V1Code
public function getSpans() {
return $this->spans;
}