-
Notifications
You must be signed in to change notification settings - Fork 800
Fix missing attributes in RedisCluster spans #2626
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 1 commit
65e2c64
8ff71aa
7802ade
f3024bc
0c97cdf
a0f908a
848cc51
5e71011
045c9c6
ac8cc13
f5c4bf4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -128,6 +128,8 @@ def response_hook(span, instance, response): | |
|
|
||
|
|
||
| def _set_connection_attributes(span, conn): | ||
| if hasattr(conn, "nodes_manager"): | ||
| conn = conn.nodes_manager.default_node.redis_connection | ||
|
||
| if not span.is_recording() or not hasattr(conn, "connection_pool"): | ||
| return | ||
| for key, value in _extract_conn_attributes( | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.