otel-utils 0.2.0__py3-none-any.whl → 0.2.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of otel-utils might be problematic. Click here for more details.

@@ -134,9 +134,10 @@ class OtelConfigurator:
134
134
  service_logger.removeHandler(handler)
135
135
 
136
136
  for logger_name in logging.root.manager.loggerDict:
137
- logger = logging.getLogger(logger_name)
138
- for handler in logger.handlers[:]:
139
- logger.removeHandler(handler)
137
+ if not logger_name.startswith(('uvicorn', 'fastapi')):
138
+ logger = logging.getLogger(logger_name)
139
+ for handler in logger.handlers[:]:
140
+ logger.removeHandler(handler)
140
141
 
141
142
  logging.getLogger('opentelemetry').setLevel(logging.ERROR)
142
143
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: otel-utils
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: Utilidades simplificadas para instrumentación con OpenTelemetry
5
5
  License: Proprietary
6
6
  Author: Harold Portocarrero
@@ -1,8 +1,8 @@
1
1
  otel_utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- otel_utils/configurator.py,sha256=hLNxGoUOXRxL62wg00W1ArRiGIJR28iRQL7S4UXaajw,7446
2
+ otel_utils/configurator.py,sha256=WTA3cjpva0pXJL5PdOhygiODbqmWWhVIgLqL1leupcA,7525
3
3
  otel_utils/logging.py,sha256=4Lpg2-GXwVbRhUsxCsJkKKCitEA5O0V3-Qa3NvtJ9vk,4808
4
4
  otel_utils/metrics.py,sha256=XD-t9V3peZJs97hN2hR2rwJKrcCJHqx2cldNOTCpzoA,3664
5
5
  otel_utils/tracing.py,sha256=PtowQ7MvYld_xJlVAV4pBQuDBQIqPeP1FQPrzgZx9_Q,2625
6
- otel_utils-0.2.0.dist-info/METADATA,sha256=nmmGm3Ra8tnhzzm50taTNWHHBw-g5Ys9a-U7U0w9jR0,5278
7
- otel_utils-0.2.0.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
8
- otel_utils-0.2.0.dist-info/RECORD,,
6
+ otel_utils-0.2.1.dist-info/METADATA,sha256=AUpPVd9zxHl4PzvSkegdvnBOxAgtjChbQhpX4P6N-78,5278
7
+ otel_utils-0.2.1.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
8
+ otel_utils-0.2.1.dist-info/RECORD,,