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

Add page context and infer data from it (WIP) #4649

Open
mydea opened this issue Apr 4, 2025 · 0 comments
Open

Add page context and infer data from it (WIP) #4649

mydea opened this issue Apr 4, 2025 · 0 comments

Comments

@mydea
Copy link
Member

mydea commented Apr 4, 2025

Based on getsentry/sentry-docs#13203, let's wait for this to be merged so details are settled.

We want to add a new page context, based on the develop docs schema:

{
  "contexts": {
    "page": {
      "url": "https://sentry.io/issues",
      "http.query": "?page=1",
      "http.fragment": "#123",
      "referer": "https://sentry.io/"
    }
  }
}

The only required field is url, all others are optional.

When this is present, we want to infer the url from it instead of from event.request.url.
I am not sure if we do anything with referer right now, but if we do, we should also infer it from there instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant