function ScopeMetrics::getScope
The instrumentation scope information for the metrics in this message. Semantically when InstrumentationScope isn't set, it is equivalent with an empty instrumentation scope name (unknown).
Generated from protobuf field <code>.opentelemetry.proto.common.v1.InstrumentationScope scope = 1;</code>
Return value
\Opentelemetry\Proto\Common\V1\InstrumentationScope|null
File
-
vendor/
open-telemetry/ gen-otlp-protobuf/ Opentelemetry/ Proto/ Metrics/ V1/ ScopeMetrics.php, line 74
Class
- ScopeMetrics
- A collection of Metrics produced by an Scope.
Namespace
Opentelemetry\Proto\Metrics\V1Code
public function getScope() {
return $this->scope;
}