opentelemetry-python-contrib/tests/opentelemetry-docker-tests/tests
Noemi 6f3aead436
Unwrap Celery's `ExceptionInfo` (#1863)
* Unwrap `ExceptionInfo` and `ExceptionWithTraceback`

Instead of reporting the `ExceptionInfo` and `ExceptionWithTraceback`
wrappers raised by Celery, report the exceptions that they wrap.

This ensures that the exception in the OpenTelemetry span has a type
and traceback that are meaningful and relevant to the developer.

* Fix typo

The exception is expected, not excepted. Well, I guess it is also
excepted, because it's an exception, but you get what I mean.

* Reformat file with `black`

Reformat the `__init__.py` file in the Celery instrumentation using
`black`, fixing a CI linter error.

* Address review feedback

Use the VERSION attribute exposed by Billiard to decide whether to
import ExceptionWithTraceback.

Add a test for a failing task and check that the exceptions' type
and message are preserved.

* Amend ExceptionWithTraceback import
2023-09-03 13:56:33 +03:00
..
asyncpg Strip leading comments from SQL queries when generating the span name. (#1434) 2022-11-18 14:01:07 +01:00
celery Unwrap Celery's `ExceptionInfo` (#1863) 2023-09-03 13:56:33 +03:00
mysql Sync with sdk setup from setUpClass to setUp (#1193) 2022-07-19 02:02:13 +05:30
postgres Fix install of Python 3.10 on GitHub Actions (#1609) 2023-02-03 08:37:24 +05:30
pymongo mongo db - fix db statement capturing (#1512) 2023-01-24 03:15:28 +00:00
pymysql Fix dbapi connection instrument wrapper has no _sock member (#1424) 2022-11-07 16:00:28 +00:00
redis Fix async redis clients tracing (#1830) 2023-06-25 15:03:54 +03:00
sqlalchemy_tests Expand sqlalchemy pool.name to follow the semantic conventions (#1778) 2023-05-06 23:09:52 +05:30
check_availability.py Refactor code using pyupgrade for Python 3.6 (#770) 2021-10-24 07:04:06 +05:30
docker-compose.yml Instrument RedisCluster clients (#1177) 2022-07-07 15:00:09 +02:00