class InstrumentationScope
Same name in this branch
- 11.1.x vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/InstrumentationScope.php \Opentelemetry\Proto\Common\V1\InstrumentationScope
Represents the instrumentation scope information associated with the Tracer or Meter
Hierarchy
- class \OpenTelemetry\SDK\Common\Instrumentation\InstrumentationScope implements \OpenTelemetry\SDK\Common\Instrumentation\InstrumentationScopeInterface
Expanded class hierarchy of InstrumentationScope
File
-
vendor/
open-telemetry/ sdk/ Common/ Instrumentation/ InstrumentationScope.php, line 12
Namespace
OpenTelemetry\SDK\Common\InstrumentationView source
final class InstrumentationScope implements InstrumentationScopeInterface {
public function __construct(string $name, ?string $version, ?string $schemaUrl, AttributesInterface $attributes) {
}
public function getName() : string {
return $this->name;
}
public function getVersion() : ?string {
return $this->version;
}
public function getSchemaUrl() : ?string {
return $this->schemaUrl;
}
public function getAttributes() : AttributesInterface {
return $this->attributes;
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title |
---|---|---|---|---|
InstrumentationScope::getAttributes | public | function | Overrides InstrumentationScopeInterface::getAttributes | |
InstrumentationScope::getName | public | function | Overrides InstrumentationScopeInterface::getName | |
InstrumentationScope::getSchemaUrl | public | function | Overrides InstrumentationScopeInterface::getSchemaUrl | |
InstrumentationScope::getVersion | public | function | Overrides InstrumentationScopeInterface::getVersion | |
InstrumentationScope::__construct | public | function |