Closed matt-codecov closed 1 week ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 84.30%. Comparing base (
4bec4a4
) to head (10e3d9c
). Report is 1 commits behind head on master.
:white_check_mark: All tests successful. No failed tests found.
implemented my suggestion from https://github.com/getsentry/sentry-python/pull/3778 so that if anton agrees we can merge this before the weekend
this PR renames the
send_sensitive_data
flag toinclude_tracing_fields
. the data in question is generally data the user expectstracing
to record or data they explicitly passed into a log statement to be recorded, so if we call it "sensitive" they may think we are referring to something elsealso, this PR applies the same condition to both
on_record()
andon_new_span()
. both callbacks set the same fields, so they should either both be redacted or both be allowed. previously onlyon_record()
had the condition applied.Thank you for contributing to
sentry-python
! Please add tests to validate your changes, and lint your code usingtox -e linters
.Running the test suite on your PR might require maintainer approval. The AWS Lambda tests additionally require a maintainer to add a special label, and they will fail until this label is added.