function InstrumentationLibrary::setName
An empty instrumentation library name means the name is unknown.
Generated from protobuf field <code>string name = 1;</code>
Parameters
string $var:
Return value
$this
File
-
vendor/
open-telemetry/ gen-otlp-protobuf/ Opentelemetry/ Proto/ Common/ V1/ InstrumentationLibrary.php, line 67
Class
- InstrumentationLibrary
- InstrumentationLibrary is a message representing the instrumentation library information such as the fully qualified name and version. InstrumentationLibrary is wire-compatible with InstrumentationScope for binary Protobuf format. This message is…
Namespace
Opentelemetry\Proto\Common\V1Code
public function setName($var) {
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
}