-
Notifications
You must be signed in to change notification settings - Fork 513
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(integrations): add support for cluster clients from redis sdk (#…
…2394) This change adds support for cluster clients from the redis sdk (as opposed to the rediscluster library). This has also been tested in my own app which uses clusters (but not asyncio clusters). Fixes GH-2523 * feat(integrations): add support for cluster clients from redis sdk * fix: review round 1 * fix: explicit `is not None` checks * fix: explicit `is not None` checks, take 2 * fix: add try/except to _set_db_data * fix: handle additional spans and breadcrumbs caused by rediscluster initialization * fix: typing for redis integration * fix: simplify assertions * add `capture_internal_exceptions` Co-authored-by: Matthieu Devlin <matt@zumper.com> * rerun CI --------- Co-authored-by: Daniel Szoke <szokeasaurusrex@users.noreply.github.com>
- Loading branch information
1 parent
22bdc4d
commit 75f89b8
Showing
6 changed files
with
435 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import pytest | ||
|
||
pytest.importorskip("redis.cluster") |
Oops, something went wrong.