function InstrumentationLibrarySpans::setSchemaUrl
This schema_url applies to all spans and span events in the "spans" field.
Generated from protobuf field <code>string schema_url = 3;</code>
Parameters
string $var:
Return value
$this
File
-
vendor/
open-telemetry/ gen-otlp-protobuf/ Opentelemetry/ Proto/ Trace/ V1/ InstrumentationLibrarySpans.php, line 147
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 setSchemaUrl($var) {
GPBUtil::checkString($var, True);
$this->schema_url = $var;
return $this;
}