opentelemetry.sdk.util.instrumentation — OpenTelemetry Python documentation (original) (raw)
class opentelemetry.sdk.util.instrumentation.InstrumentationInfo(name, version=None, schema_url=None)[source]
Bases: object
Immutable information about an instrumentation library module.
See opentelemetry.trace.TracerProvider.get_tracer for the meaning of these properties.
property schema_url_: str | None_
property version_: str | None_
class opentelemetry.sdk.util.instrumentation.InstrumentationScope(name, version=None, schema_url=None, attributes=None)[source]
Bases: object
A logical unit of the application code with which the emitted telemetry can be associated.
See opentelemetry.trace.TracerProvider.get_tracer for the meaning of these properties.
property schema_url_: str | None_
property version_: str | None_
property attributes_: Mapping[str, str | bool | int | float | Sequence[str] | Sequence[bool] | Sequence[int] | Sequence[float]] | None_
Return type: