Skip to content
This repository was archived by the owner on Aug 14, 2024. It is now read-only.

Commit c67b805

Browse files
committed
feat: OpenTelemetry Spec
1 parent 0751056 commit c67b805

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

src/components/sidebar.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ export default () => {
226226
<SidebarLink to="/sdk/performance/" title="Performance">
227227
<SidebarLink to="/sdk/performance/span-operations/">Span Operations</SidebarLink>
228228
<SidebarLink to="/sdk/performance/dynamic-sampling-context/">Dynamic Sampling Context</SidebarLink>
229+
<SidebarLink to="/sdk/performance/opentelemetry/">OpenTelemetry Support</SidebarLink>
229230
</SidebarLink>
230231
<SidebarLink to="/sdk/event-payloads/" title="Event Payloads">
231232
<SidebarLink to="/sdk/event-payloads/transaction/">
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
title: "OpenTelemetry Support"
3+
---
4+
5+
<Alert level="warning">
6+
7+
This page is under active development. Specifications are not final and subject to change.
8+
9+
"Proof is in the progress" - Drake
10+
11+
</Alert>
12+
13+
This document details Sentry's work in integrating and supporting [OpenTelemetry](https://opentelemetry.io/), the open standard for metrics, traces and logs. In particular, it focuses on the integration between [Sentry's performance monitoring product](https://docs.sentry.io/product/performance/) and [OpenTelemetry's tracing spec](https://opentelemetry.io/docs/concepts/signals/traces/).
14+
15+
## Background
16+
17+
When Sentry performance monitoring was initially introduced, OpenTelemetry was in early stages. This lead to us adopt a slightly different model from OpenTelemetry, notably we have this concept of transactions that OpenTelemetry does not have. We've described this, and some more historical background, in our [performance monitoring research document](../research/performance/index.mdx).
18+
19+
TODO: Add history about OpenTelemetry Sentry Exporter: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/exporter/sentryexporter
20+
21+
## Approach
22+
23+
TODO: Talk about the approach we are using, based on Matt's hackweek project - https://github.com/getsentry/sentry-ruby/pull/1876
24+
25+
## Protocol
26+
27+
Below describe the transformations between an OpenTelemetry span and a Sentry Span. Related: [the interface for a Sentry Span](https://develop.sentry.dev/sdk/event-payloads/span/) and for an [OpenTelemetry span](https://github.com/open-telemetry/opentelemetry-proto/blob/724e427879e3d2bae2edc0218fff06e37b9eb46e/opentelemetry/proto/trace/v1/trace.proto#L80-L256).
28+
29+
30+
31+
## SDK Spec
32+
33+
- SpanProcessor: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/sdk.md#span-processor
34+
- Propogator: https://opentelemetry.io/docs/reference/specification/context/api-propagators/
35+

0 commit comments

Comments
 (0)