* Rough draft of the contribution
* Add connection instrumentation based on the existing pattern.
add a helper function assert_span_count to simplify tests
add unit tests for pipeline hooks
* fix tests to use fake redis
* replace the redis version checks with defines
* Adjust comment and fix one test
* Update documentation with the client method
* Update the changelog
* Update the HTTPX readme to point to proper class method
* Add back the assert_span_count method
* Move the changelog update to the unreleased section
* Remove extra whitespace in the Changelog
* Fix linter complaints
* Remove hasattr assert
* Move the Changelog to Unreleased
* Review comments. Move types to types.py, move some functions to util.py. Tested and verified docs.
* Fix type compatibility
* fix typing and lint
---------
Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com>
* feat: add opentelemetry-instrumentation-threading library
* fix: update python file with black formatter
* fix: modified title underline too short issue
* fix: modified library sorted via isort tool
* fix: modified CHANGELOG.md and remove unused parameter
* test: migrated unit test cases from the #1582 to this project
* chroe: updated the tox.ini test commands
* fix: fixed the lint issue
* feat: support ThreadPool and update document
* fix: fixed the lint issue
* refactor: remove redundant class and simplify capture OTel context usage
* fix: removed unused parameter
* test: added a new test case for thread pool
* fix: remove unused return response
* refactor: compared the array
* fix: remove f-string
* fix: fixed pylint issue
* fix: test library
* fix: updated CHANGELOG.md
---------
Co-authored-by: Aaron Abbott <aaronabbott@google.com>
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.