function InstrumentationLibraryMetrics::getInstrumentationLibrary
The instrumentation library information for the metrics 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>
Return value
\Opentelemetry\Proto\Common\V1\InstrumentationLibrary|null
File
-
vendor/
open-telemetry/ gen-otlp-protobuf/ Opentelemetry/ Proto/ Metrics/ V1/ InstrumentationLibraryMetrics.php, line 71
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 getInstrumentationLibrary() {
return $this->instrumentation_library;
}