function InstrumentationLibraryMetrics::setSchemaUrl
This schema_url applies to all metrics in the "metrics" 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/ Metrics/ V1/ InstrumentationLibraryMetrics.php, line 147
Class
- InstrumentationLibraryMetrics
- A collection of Metrics produced by an InstrumentationLibrary. InstrumentationLibraryMetrics is wire-compatible with ScopeMetrics for binary Protobuf format. This message is deprecated and will be removed on June 15, 2022.
Namespace
Opentelemetry\Proto\Metrics\V1Code
public function setSchemaUrl($var) {
GPBUtil::checkString($var, True);
$this->schema_url = $var;
return $this;
}