Skip to content

Add more tunnel option examples for the JavaScript SDK #3889

Closed

Description

@AbhiPrasad

Core or SDK?

Platform/SDK

Which part? Which one?

JavaScript SDK

Description

https://docs.sentry.io/platforms/javascript/troubleshooting/#using-the-tunnel-option

We have a tunnel option exposed in the SDK to help users deal with ad-blockers. There are some improvements we can make to the documentation around this.

Suggested Solution

  1. We should create more server-side code examples (currently we only have PHP and dotnet).
  1. We should also think about moving it outside the troubleshooting section so it is visible to more users. Open to feedback around this.

Activity

  1. bruno-garcia commented on Jul 15, 2021

    @bruno-garcia
    Member

    Also note that there's a link to the examples doc:

    image

    Which we can add more examples and includes an easy to run JS example consuming the tunnel:

    https://github.com/getsentry/examples/tree/master/tunneling

  2. lobsterkatie commented on Jul 26, 2022

    @lobsterkatie
    Member

    We do have a ruby snippet, but it's formatted weirdly (see #5281). And yes, agree we need a Python example.

  3. locked and limited conversation to collaborators on Aug 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions