diff --git a/microbootstrap/instruments/opentelemetry_instrument.py b/microbootstrap/instruments/opentelemetry_instrument.py index 88c0560..1ea99e1 100644 --- a/microbootstrap/instruments/opentelemetry_instrument.py +++ b/microbootstrap/instruments/opentelemetry_instrument.py @@ -100,7 +100,7 @@ def bootstrap(self) -> None: attributes[ResourceAttributes.SERVICE_NAMESPACE] = self.instrument_config.opentelemetry_namespace if self.instrument_config.opentelemetry_container_name: attributes[ResourceAttributes.CONTAINER_NAME] = self.instrument_config.opentelemetry_container_name - resource: typing.Final = resources.Resource.create(attributes=attributes) # type: ignore[attr-defined] + resource: typing.Final = resources.Resource.create(attributes=attributes) self.tracer_provider = SdkTracerProvider(resource=resource) if self.instrument_config.pyroscope_endpoint and pyroscope: