diff --git a/opentelemetry-api/src/opentelemetry/metrics/_internal/instrument.py b/opentelemetry-api/src/opentelemetry/metrics/_internal/instrument.py index 5d422589fa..3d6ea8f136 100644 --- a/opentelemetry-api/src/opentelemetry/metrics/_internal/instrument.py +++ b/opentelemetry-api/src/opentelemetry/metrics/_internal/instrument.py @@ -386,7 +386,7 @@ def __init__( self._unit = unit self._description = description self._advisory = advisory - self._real_instrument: Optional[InstrumentT] = None + self._real_instrument: Optional[Histogram] = None def record( self,