opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentati.../tests
Owais Lone 9ef4410fa8
Added logging instrumentation to enable log - trace correlation (#345)
This commit adds a new logging instrumentation. The instrumentation
patches standard library logging module to inject tracing context
variables (otelSpanID, otelTraceID, otelServiceName) into log record
objects. It also optionally calls `logging.basicConfig()` and sets a
logging format that makes use of these vars if instructed by the user.
2021-03-09 21:52:58 -08:00
..
__init__.py Added logging instrumentation to enable log - trace correlation (#345) 2021-03-09 21:52:58 -08:00
test_logging.py Added logging instrumentation to enable log - trace correlation (#345) 2021-03-09 21:52:58 -08:00