Skip to content

Commit

Permalink
Fix typo (#1265)
Browse files Browse the repository at this point in the history
propogate -> propagate
  • Loading branch information
andrii-st committed May 24, 2024
1 parent f0c61f9 commit e0b5846
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/docs/sdk/performance/opentelemetry.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Below we have written a custom SpanProcessor that will transform the OpenTelemet

This relies on a couple key assumptions.

1. Hub/Scope propogation works properly in your platform. This means that the hub used in `onStart` is the same hub used in `onEnd` and it means that hubs fork properly in async contexts.
1. Hub/Scope propagation works properly in your platform. This means that the hub used in `onStart` is the same hub used in `onEnd` and it means that hubs fork properly in async contexts.
2. The SDK is initialized before the OpenTelemetry SDK is initialized.
3. There will only be a single transaction occuring at the same time. This is a limitation of the current SDK design.

Expand Down Expand Up @@ -151,7 +151,7 @@ const sdk = new NodeSDK({

### Step 2: Implement the SentryPropagator on your SDK Add SentryPropagator

`SentryPropagator` is used to inject/extract `sentry-trace` and `baggage` headers to make trace propogation and dynamic sampling work correctly.
`SentryPropagator` is used to inject/extract `sentry-trace` and `baggage` headers to make trace propagation and dynamic sampling work correctly.

```ts
import {Context, TextMapPropagator} from '@opentelemetry/api';
Expand Down Expand Up @@ -766,4 +766,4 @@ interface OpenTelemetryContext {
## SDK Spec

- SpanProcessor: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/sdk.md#span-processor
- Propogator: https://opentelemetry.io/docs/reference/specification/context/api-propagators/
- Propagator: https://opentelemetry.io/docs/reference/specification/context/api-propagators/

0 comments on commit e0b5846

Please sign in to comment.