function InstrumentationLibraryLogs::setInstrumentationLibrary
The instrumentation library information for the logs in this message. Semantically when InstrumentationLibrary isn't set, it is equivalent with an empty instrumentation library name (unknown).
Generated from protobuf field <code>.opentelemetry.proto.common.v1.InstrumentationLibrary instrumentation_library = 1;</code>
Parameters
\Opentelemetry\Proto\Common\V1\InstrumentationLibrary $var:
Return value
$this
File
-
vendor/
open-telemetry/ gen-otlp-protobuf/ Opentelemetry/ Proto/ Logs/ V1/ InstrumentationLibraryLogs.php, line 95
Class
- InstrumentationLibraryLogs
- A collection of Logs produced by an InstrumentationLibrary. InstrumentationLibraryLogs is wire-compatible with ScopeLogs for binary Protobuf format. This message is deprecated and will be removed on June 15, 2022.
Namespace
Opentelemetry\Proto\Logs\V1Code
public function setInstrumentationLibrary($var) {
GPBUtil::checkMessage($var, \Opentelemetry\Proto\Common\V1\InstrumentationLibrary::class);
$this->instrumentation_library = $var;
return $this;
}