function InstrumentationScope::setName
An empty instrumentation scope 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/ InstrumentationScope.php, line 81
Class
- InstrumentationScope
- InstrumentationScope is a message representing the instrumentation scope information such as the fully qualified name and version.
Namespace
Opentelemetry\Proto\Common\V1Code
public function setName($var) {
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
}