# opentelemetry.sdk.util.instrumentation

class opentelemetry.sdk.util.instrumentation.InstrumentationInfo(name, version=None, schema_url=None)

  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
  property name: str

class opentelemetry.sdk.util.instrumentation.InstrumentationScope(name, version=None, schema_url=None, attributes=None)

  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 name: str
  property attributes: Mapping[str, str | bool | int | float | Sequence[str] | Sequence[bool] | Sequence[int] | Sequence[float]] | None
  to_json(indent=4)
    Return type:

      `str`