Skip to content

Commit 44a4439

Browse files
authored
opentelemetry_instrument: minor release fixed mypy triggering (#104)
1 parent 675c1a4 commit 44a4439

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

microbootstrap/instruments/opentelemetry_instrument.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def bootstrap(self) -> None:
100100
attributes[ResourceAttributes.SERVICE_NAMESPACE] = self.instrument_config.opentelemetry_namespace
101101
if self.instrument_config.opentelemetry_container_name:
102102
attributes[ResourceAttributes.CONTAINER_NAME] = self.instrument_config.opentelemetry_container_name
103-
resource: typing.Final = resources.Resource.create(attributes=attributes) # type: ignore[attr-defined]
103+
resource: typing.Final = resources.Resource.create(attributes=attributes)
104104

105105
self.tracer_provider = SdkTracerProvider(resource=resource)
106106
if self.instrument_config.pyroscope_endpoint and pyroscope:

0 commit comments

Comments
 (0)