Skip to content
Open
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
2e4457c
fix(openai-agents): also emit spans for MCP tool calls done by the LL…
constantinius Oct 2, 2025
ffc88f5
ci: 🤖 Update test matrix with new releases (10/02) (#4880)
github-actions[bot] Oct 2, 2025
b3fe619
Optimize _get_db_span_description
codeflash-ai[bot] Oct 2, 2025
f3e8a5c
fix(tests): Don't assume release is set (#4879)
sentrivana Oct 3, 2025
bbd2a5d
feat(integrations): Add tracing to DramatiqIntegration (#4571)
Igreh Oct 3, 2025
f979abf
feat(integrations): add litellm integration (#4864)
constantinius Oct 3, 2025
39cb2c5
feat(huggingface): Support 1.0.0rc2 (#4873)
sentrivana Oct 6, 2025
8bc1966
ci: 🤖 Update test matrix with new releases (10/06) (#4889)
github-actions[bot] Oct 6, 2025
41f709e
ci: 🤖 Update test matrix with new releases (10/06) (#4890)
github-actions[bot] Oct 6, 2025
bf77a86
fix(litestar): Copy request info to prevent cookies mutation (#4883)
alexander-alderman-webb Oct 6, 2025
91cc2bc
release: 2.40.0
getsentry-bot Oct 6, 2025
070ecd0
Update CHANGELOG.md
sentrivana Oct 6, 2025
04968c4
Add links to CHANGELOG.md
sentrivana Oct 6, 2025
87f8f39
Merge branch 'release/2.40.0'
Oct 6, 2025
a879d82
ci: Remove toxgen check (#4892)
sentrivana Oct 8, 2025
b1dd2dc
fix(ai): add mapping for gen_ai message roles (#4884)
shellmayr Oct 8, 2025
f32e391
feat: Add concurrent.futures patch to threading integration (#4770)
alexander-alderman-webb Oct 8, 2025
55e903e
ci: Bump Python version for linting (#4897)
sentrivana Oct 8, 2025
7997368
chore: Remove old metrics code (#4899)
sentrivana Oct 9, 2025
a049747
ref: Remove "experimental" from log func name (#4901)
sentrivana Oct 9, 2025
1f8c008
feat(metrics): Add trace metrics behind an experiments flag (#4898)
k-fish Oct 9, 2025
272af1b
release: 2.41.0
getsentry-bot Oct 9, 2025
685287d
Update CHANGELOG.md
sentrivana Oct 9, 2025
b7cda42
Merge branch 'release/2.41.0'
Oct 9, 2025
149a7da
feat(ai): Add `python-genai` integration (#4891)
vgrozdanic Oct 10, 2025
97d6756
fix(Ray): Retain the original function name when patching Ray tasks (…
svartalf Oct 10, 2025
f8b9069
tests: Update tox (#4913)
sentrivana Oct 10, 2025
cab17a4
feat: Add source information for slow outgoing HTTP requests (#4902)
alexander-alderman-webb Oct 10, 2025
643d87e
build(deps): bump github/codeql-action from 3 to 4 (#4916)
dependabot[bot] Oct 13, 2025
f99a17b
ci: 🤖 Update test matrix with new releases (10/13) (#4917)
github-actions[bot] Oct 13, 2025
db67178
Merge branch 'master' into codeflash/optimize-_get_db_span_descriptio…
misrasaurabh1 Oct 14, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions sentry_sdk/integrations/redis/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,22 @@ def _get_safe_command(name, args):
# type: (str, Sequence[Any]) -> str
command_parts = [name]

name_low = name.lower()
send_default_pii = should_send_default_pii()

for i, arg in enumerate(args):
if i > _MAX_NUM_ARGS:
break

name_low = name.lower()

if name_low in _COMMANDS_INCLUDING_SENSITIVE_DATA:
command_parts.append(SENSITIVE_DATA_SUBSTITUTE)
continue

arg_is_the_key = i == 0
if arg_is_the_key:
command_parts.append(repr(arg))

else:
if should_send_default_pii():
if send_default_pii:
command_parts.append(repr(arg))
else:
command_parts.append(SENSITIVE_DATA_SUBSTITUTE)
Expand Down