Skip to content

Commit

Permalink
tunnel example, mention built in (#8383)
Browse files Browse the repository at this point in the history
Co-authored-by: Shana Matthews <[email protected]>
  • Loading branch information
bruno-garcia and shanamatthews authored Nov 3, 2023
1 parent 93045ea commit 1851994
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/platforms/javascript/common/troubleshooting/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,13 @@ Sentry.init({
Once configured, all events will be sent to the `/tunnel` endpoint. This solution, however, requires an additional configuration on the server, as the events now need to be parsed and redirected to Sentry. Here's an example for your server component:

```csharp
// Requires .NET Core 3.1 and C# 9 or higher

// This functionality is now built-in to the Sentry.AspNetCore package.
// See https://docs.sentry.io/platforms/dotnet/guides/aspnetcore/#tunnel
// docs for more information.
// This example shows how you could implement it yourself:
using System;
using System.Collections.Generic;
using System.IO;
Expand Down

1 comment on commit 1851994

@vercel
Copy link

@vercel vercel bot commented on 1851994 Nov 3, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

sentry-docs – ./

sentry-docs.sentry.dev
docs.sentry.io
sentry-docs-git-master.sentry.dev

Please sign in to comment.