Skip to content

Commit 803f673

Browse files
committed
rebase fix
1 parent 8d3eea2 commit 803f673

File tree

1 file changed

+0
-74
lines changed
  • src/content/docs/workers/observability/third-party-integrations

1 file changed

+0
-74
lines changed
Lines changed: 0 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
<<<<<<< HEAD
32
pcx_content_type: navigation
43
title: Sentry
54
external_link: https://docs.sentry.io/platforms/javascript/guides/cloudflare/
@@ -11,76 +10,3 @@ description: Connect to a Sentry project from your Worker to automatically send
1110

1211
Connect to a Sentry project from your Worker to automatically send
1312
errors and uncaught exceptions to Sentry.
14-
=======
15-
pcx_content_type: concept
16-
title: Sentry
17-
head: []
18-
description: Connect to a Sentry project from your Worker to automatically send
19-
errors and uncaught exceptions to Sentry.
20-
sidebar:
21-
badge:
22-
text: Beta
23-
24-
---
25-
26-
import { Render } from "~/components"
27-
28-
[Sentry](https://sentry.io/welcome/) is an error tracking and performance monitoring platform that allows developers to diagnose, fix, and optimize the performance of their code.
29-
30-
This integration allows you to connect to a Sentry project from your Worker to automatically send errors and uncaught exceptions to Sentry with no code changes needed in the Workers application.
31-
32-
:::note
33-
34-
35-
Sentry integration is available to all Enterprise customers and Free, Pro, and Business customers on the [Workers Paid plan](/workers/platform/pricing/).
36-
37-
38-
:::
39-
40-
:::caution
41-
42-
43-
This integration is not supported for Pages projects. Pages does not support [Tail Workers](/workers/observability/logs/tail-workers/), and the Sentry integration relies on adding a Tail Worker to your Worker.
44-
45-
46-
:::
47-
48-
## How it works
49-
50-
This integration adds a [Tail Worker](/workers/observability/logs/tail-workers) to your application Worker. The Tail Worker automatically sends errors and uncaught exceptions to the Sentry project you have configured.
51-
52-
This integration supports the following Sentry features:
53-
54-
* **[Data Handling](https://develop.sentry.dev/sdk/data-handling/)**: As a best practice, do not include PII or other sensitive data in the payload sent to Sentry. HTTP headers (for example, `Authorization` or `Cookie`) can be removed before events are forwarded to Sentry.
55-
* **[Sampling](https://docs.sentry.io/platforms/javascript/configuration/sampling/#configuring-the-transaction-sample-rate)**: Sampling can be configured to manage the number and type of events sent to Sentry. Sampling rates can be configured based on the HTTP status code returned by the Worker and for uncaught exceptions. Setting the sampling rate to 100% sends all events to Sentry or setting it to 30% sends approximately 30% of events to Sentry.
56-
* **[Breadcrumbs](https://docs.sentry.io/product/issues/issue-details/breadcrumbs/)**: Breadcrumbs create a trail of events that happened prior to an issue. Breadcrumbs are automatically forwarded to Sentry in the case of an error or exception. These events consist of the `console.log()` from the Worker before the error or exception occurred.
57-
58-
:::note
59-
60-
If there are more configuration options that you would like to see, leave us feedback on the [Cloudflare Developer Discord](https://discord.cloudflare.com) (channel name: integrations).
61-
:::
62-
63-
## Set up an integration with Sentry
64-
65-
To set up an integration with Sentry, you need to have an existing Sentry project to connect to. [Create a Sentry project](https://docs.sentry.io/product/sentry-basics/integrate-frontend/create-new-project), or use an existing project for this integration. Then add the Sentry integration to your Worker.
66-
67-
To add the Sentry integration to your Worker:
68-
69-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com) and select your account.
70-
2. Select **Workers & Pages**.
71-
3. In **Overview**, select your Worker.
72-
4. Select **Integrations** > **Sentry**.
73-
5. Follow the setup flow.
74-
75-
Once installed, the integration will automatically start forwarding matching events to Sentry. To learn more about Sentry, refer to [Sentry's official documentation](https://docs.sentry.io/).
76-
77-
<Render file="wrangler-tail-warning" />
78-
79-
:::caution
80-
81-
82-
Each Cloudflare account can only be linked to one Sentry organization. Use the [Sentry SDK](https://github.com/getsentry/sentry-javascript) in order to send events to projects in more than one Sentry organization.
83-
84-
85-
:::
86-
>>>>>>> 7961fa1835 (integrations removal changelog update)

0 commit comments

Comments
 (0)