Skip to content

Commit 20e5073

Browse files
committed
At last
1 parent c94dcba commit 20e5073

File tree

1 file changed

+2
-2
lines changed
  • instrumentation/opentelemetry-instrumentation-botocore/src/opentelemetry/instrumentation/botocore

1 file changed

+2
-2
lines changed

instrumentation/opentelemetry-instrumentation-botocore/src/opentelemetry/instrumentation/botocore/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def _instrument(self, **kwargs):
170170
# meters are lazy initialized per-extension in _get_meter
171171
self._meters = {}
172172
# metrics are lazy initial per-extension in _get_metrics
173-
self._metrics: dict[str, dict[str, Instrument]] = {}
173+
self._metrics: Dict[str, Dict[str, Instrument]] = {}
174174

175175
self.request_hook = kwargs.get("request_hook")
176176
self.response_hook = kwargs.get("response_hook")
@@ -259,7 +259,7 @@ def _get_meter(self, extension: _AwsSdkExtension):
259259

260260
def _get_metrics(
261261
self, extension: _AwsSdkExtension, meter: Meter
262-
) -> dict[str, Instrument]:
262+
) -> Dict[str, Instrument]:
263263
"""This is a multiplexer for lazy initial metrics required by extensions"""
264264
instrumentation_name = self._get_instrumentation_name(extension)
265265
metrics = self._metrics.get(instrumentation_name)

0 commit comments

Comments
 (0)