You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/concepts/otlp/index.mdx
+49-3Lines changed: 49 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,14 +5,17 @@ description: "Learn how to send OpenTelemetry trace data directly to Sentry from
5
5
keywords: ["otlp", "otel", "opentelemetry"]
6
6
---
7
7
8
+
Sentry can ingest [OpenTelemetry](https://opentelemetry.io) traces and logs directly via the [OpenTelemetry Protocol](https://opentelemetry.io/docs/specs/otel/protocol/). Sentry does not support ingesting OTLP metrics.
Sentry can ingest [OpenTelemetry](https://opentelemetry.io) traces directly via the [OpenTelemetry Protocol](https://opentelemetry.io/docs/specs/otel/protocol/). If you have an existing OpenTelemetry trace instrumentation, you can configure your OpenTelemetry exporter to send traces to Sentry directly. Sentry's OTLP ingestion endpoint is currently in development, and has a few known limitations:
14
+
If you have an existing OpenTelemetry trace instrumentation, you can configure your OpenTelemetry exporter to send traces to Sentry directly. Sentry's OTLP ingestion traces endpoint is currently in development, and has a few known limitations:
11
15
12
16
- Span events are not supported. All span events are dropped during ingestion.
13
17
- Span links are partially supported. We ingest and display span links, but they cannot be searched, filtered, or aggregated. Links are are shown in the [Trace View](/concepts/key-terms/tracing/trace-view/).
14
18
- Array attributes are partially supported. We ingest and display array attributes, but they cannot be searched, filtered, or aggregated. Array attributes are shown in the [Trace View](/concepts/key-terms/tracing/trace-view/).
15
-
- Sentry does not support ingesting OTLP metrics or OTLP logs.
16
19
17
20
The easiest way to configure an OpenTelemetry exporter is with environment variables. You'll need to configure the trace endpoint URL, as well as the authentication headers. Set these variables on the server where your application is running.
18
21
@@ -39,7 +42,50 @@ const sdk = new NodeSDK({
39
42
sdk.start();
40
43
```
41
44
42
-
You can find the values of Sentry's OTLP endpoint and public key in your Sentry project settings.
45
+
You can find the values of Sentry's OTLP traces endpoint and public key in your Sentry project settings.
46
+
47
+
1. Go to the [Settings > Projects](https://sentry.io/orgredirect/organizations/:orgslug/settings/projects/) page in Sentry.
48
+
2. Select a project from the list.
49
+
3. Go to the "Client Keys (DSN)" sub-page for this project under the "SDK Setup" heading.
50
+
51
+
## OpenTelemetry Logs
52
+
53
+
<Includename="feature-stage-beta.mdx" />
54
+
55
+
If you have an existing OpenTelemetry log instrumentation, you can configure your OpenTelemetry exporter to send logs to Sentry directly. Sentry's OTLP ingestion logs endpoint has the following known limitations:
56
+
57
+
- Array attributes are partially supported. We ingest and display array attributes, but they cannot be searched, filtered, or aggregated.
58
+
59
+
The easiest way to configure an OpenTelemetry exporter is with environment variables. You'll need to configure the trace endpoint URL, as well as the authentication headers. Set these variables on the server where your application is running.
0 commit comments