Skip to content

Conversation

@lobsterkatie
Copy link
Member

@lobsterkatie lobsterkatie commented Nov 18, 2022

Note: Converting to draft now that it's clear this is going to be more work than I thought. See #5811 for somewhat of a todo list.


This is some general wordsmithing and reorganization of the SDK filtering page, specifically the beforeSend and hints sections, extracted from a future PR adding beforeSendTransaction to the docs.

Key Changes:

  • Consolidate explanatory text and examples for hints into a single Hints section to avoid repetition.
  • Fix JS before-send-hint snippet to not be identical to the before-send-fingerprint snippet and instead match the other languages' before-send-hint snippets. (UPDATE: Some other languages need this done, too.)
  • Flesh out the list of properties available in hints. (UPDATE: Most other languages need this done.)
  • Move list of properties to subpage.
  • Make event properties use an include the way breadcrumb properties already do.
  • Rename the Decluttering Sentry heading to something more descriptive.

TODO:

  • This is all mushed together in one giant commit for now. Can clean that up a bit once we know what, if anything, we're going to do from here.

@vercel
Copy link

vercel bot commented Nov 18, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
sentry-docs ✅ Ready (Inspect) Visit Preview Nov 19, 2022 at 0:14AM (UTC)

@lobsterkatie lobsterkatie force-pushed the kmclb-clean-up-filtering-nov-2022 branch from 6bf9f15 to f523599 Compare November 18, 2022 23:46
lobsterkatie added a commit that referenced this pull request Nov 30, 2022
This adds the new `beforeSendTransaction` option to the docs, both on the options page and alongside `beforeSend` in many places in the text. Because you can't selectively turn certain phrases on and off for different platforms, I tried to indicate where I could that it's not universally supported. (Right now, I believe JS is in fact the only platform to support it, though I expect that to change in the near future.) It also does a tiny bit of wordsmithing of the text around the additions, courtesy of @lizokm and @imatwawana.

Note that the one spot where updates haven't been done in this PR is the text of the Filtering page, as it's being worked on separately in #5804. Once the changes there are done, #5838 will add `beforeSendTransaction`.
@github-actions
Copy link
Contributor

This pull request has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

@cleptric cleptric self-assigned this Dec 12, 2022
Copy link
Contributor

@imatwawana imatwawana left a comment

Choose a reason for hiding this comment

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

For Python, in the preview, there are two Hints pages under Filtering, so some cleanup is required there. I'm also not sure I understand the structure of the Filtering page now in terms of event processors/hints. I've left a question there. Otherwise, the wording looks good to me!

- perl
---

# Hints
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't need this H1 as this is already taken care of by the page title

Suggested change
# Hints

You can configure your SDK to filter events in a number of ways:

- by using the <PlatformIdentifier name="before-send" /> callback method
- by using event processors,
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
- by using event processors,
- by using event processors


- by using the <PlatformIdentifier name="before-send" /> callback method
- by using event processors,
- by configuring, enabling, or disabling integrations.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
- by configuring, enabling, or disabling integrations.
- by configuring, enabling, or disabling integrations

</PlatformSection>

<PlatformSection notSupported={["native", "apple", "dotnet"]}>
### Hints
Copy link
Contributor

Choose a reason for hiding this comment

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

This section doesn't seem to be about event processors. Is this supposed to undergo more changes?

@getsantry
Copy link
Contributor

getsantry bot commented Oct 18, 2023

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you remove the label Waiting for: Community, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

@getsantry getsantry bot added the Stale label Oct 18, 2023
@cleptric cleptric closed this Oct 18, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Nov 3, 2023
@stephanie-anderson stephanie-anderson deleted the kmclb-clean-up-filtering-nov-2022 branch February 23, 2024 10:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants