Skip to content
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

fix(py): Respect the renormalize flag #1548

Merged
merged 4 commits into from
Oct 25, 2022
Merged

Conversation

jjbayer
Copy link
Member

@jjbayer jjbayer commented Oct 25, 2022

The normalize in the python package and C-ABI receives a structure with config arguments for the various normalizers. The renormalize flag is more central, as it is supposed to disable most of the normalizers. This is used in Sentry after the event has passed normalization to ensure that it is still structurally valid, but it may contain fields now that are prohibited during ingestion.

In #1366 large parts of normalization were split into a dedicated light_normalize function which did not honor the renormalize flag. This PR restores correct behavior and disables the entire renormalize call.

@jan-auer jan-auer changed the title Fix/store respect renormalize fix(py): Respect the renormalize flag Oct 25, 2022
* master:
  (fix)e2e: Use report self hosted issues env variable (#1539)
  meta(vscode): Enable all features in Rust-Analyzer (#1542)
@jan-auer jan-auer marked this pull request as ready for review October 25, 2022 17:27
@jan-auer jan-auer requested a review from a team October 25, 2022 17:27
@jjbayer jjbayer merged commit 5bde5bc into master Oct 25, 2022
@jjbayer jjbayer deleted the fix/store-respect-renormalize branch October 25, 2022 17:52
jan-auer added a commit that referenced this pull request Oct 25, 2022
* master:
  release: 0.8.15
  fix(py): Respect the renormalize flag (#1548)
  (fix)e2e: Use report self hosted issues env variable (#1539)
  meta(vscode): Enable all features in Rust-Analyzer (#1542)
  release: 0.8.14
  build(craft): Fix manylinux artifact name (#1547)
  feat(quotas): New data category for indexed transactions (#1535)
  test(auth): Unflake re_auth_failure (#1531)
  replays: add warning log for parse errors (#1534)
  fix(server): Retain valid cached project states on error (#1426)
  feat(protocol): Implement response context schema (#1529)
  feat(replays): emit org_id on recording kafka messages (#1528)
  feat: Add .NET/Portable-PDB specific protocol fields (#1518)
  feat(quotas): Enforce rate limits on metrics buckets (#1515)
  ref(pii): Consider all token as sensitive [INGEST-1550] (#1527)
  release: 22.10.0
jan-auer added a commit that referenced this pull request Oct 25, 2022
* master:
  fix(gha): Skip Sentry integration tests on library release builds (#1550)
  ref: Use wildcard re-exports where applicable (#1526)
  ci(gha): Skip Sentry integration tests on library release builds (#1549)
  release: 0.8.15
  fix(py): Respect the renormalize flag (#1548)
  (fix)e2e: Use report self hosted issues env variable (#1539)
  meta(vscode): Enable all features in Rust-Analyzer (#1542)
  release: 0.8.14
  build(craft): Fix manylinux artifact name (#1547)
jan-auer added a commit that referenced this pull request Oct 27, 2022
* master:
  feat(quotas): Separate processing and indexing quotas (#1537)
  feat(replays): Adjust replay parser to be less strict and allow for larger segment-ids (#1551)
  fix(gha): Skip Sentry integration tests on library release builds (#1550)
  ref: Use wildcard re-exports where applicable (#1526)
  ci(gha): Skip Sentry integration tests on library release builds (#1549)
  release: 0.8.15
  fix(py): Respect the renormalize flag (#1548)
  (fix)e2e: Use report self hosted issues env variable (#1539)
  meta(vscode): Enable all features in Rust-Analyzer (#1542)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants