Skip to content

Log Redis command arguments if send_default_pii = true#1726

Merged
st0012 merged 4 commits intogetsentry:masterfrom
lewispb:lb/redis-commands
Mar 4, 2022
Merged

Log Redis command arguments if send_default_pii = true#1726
st0012 merged 4 commits intogetsentry:masterfrom
lewispb:lb/redis-commands

Conversation

@lewispb
Copy link
Copy Markdown
Contributor

@lewispb lewispb commented Feb 13, 2022

Closes #1718

Description

When config.send_default_pii = true we will also log any Redis command arguments

@st0012 st0012 added this to the 5.2.0 milestone Feb 18, 2022
@st0012
Copy link
Copy Markdown
Contributor

st0012 commented Feb 18, 2022

@lewispb Thanks for the work! Again! The PR looks great but I need to do one or two patch releases before merging 5.2.0 features. So I need to let it park here for a while.

@lewispb
Copy link
Copy Markdown
Contributor Author

lewispb commented Feb 20, 2022

No worries at all @st0012! I just pushed a test case I missed for the span description.

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Feb 20, 2022

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.40%. Comparing base (87b50d7) to head (c72f115).
⚠️ Report is 661 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1726      +/-   ##
==========================================
+ Coverage   98.38%   98.40%   +0.01%     
==========================================
  Files         141      141              
  Lines        8053     8079      +26     
==========================================
+ Hits         7923     7950      +27     
+ Misses        130      129       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown
Contributor

@st0012 st0012 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks again for the follow up work 👍

@st0012 st0012 merged commit bad64df into getsentry:master Mar 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Record redis command arguments in breadcrumbs and tracing spans.

3 participants