Skip to content

Commit 6a1f4b8

Browse files
committed
Update Sentry and spans-and-attributes documentation for clarity
- Clarified the format for the Sentry authentication header in the OpenTelemetry data exporting instructions. - Updated attribute names in spans-and-attributes documentation to include the correct units for CPU and wall time.
1 parent 09e2c06 commit 6a1f4b8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/content/docs/workers/observability/exporting-opentelemetry-data/sentry.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ To configure your traces destination, click **Add destination** and configure th
5959
- **OTLP Endpoint**: Your Sentry OTLP traces endpoint (e.g., `https://{HOST}/api/{PROJECT_ID}/integration/otlp/v1/traces`)
6060
- **Custom Headers**: Add the Sentry authentication header:
6161
- Header name: `x-sentry-auth`
62-
- Header value: `sentry sentry_key={SENTRY_PUBLIC_KEY}` where {SENTRY_PUBLIC_KEY} is your Sentry project's public key
62+
- Header value: `sentry sentry_key={SENTRY_PUBLIC_KEY}` where `{SENTRY_PUBLIC_KEY}` is your Sentry project's public key
6363

6464
### Logs destination
6565

src/content/docs/workers/observability/traces/spans-and-attributes.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ Cloudflare Workers provides automatic tracing instrumentation **out of the box**
7777
#### Attributes availabe on all handlers
7878

7979
- `cloudflare.outcome`
80-
- `cloudflare.cpu_time`
81-
- `cloudflare.wall_time`
80+
- `cloudflare.cpu_time_ms`
81+
- `cloudflare.wall_time_ms`
8282
- `faas.trigger`
8383
- `cloudflare.ray_id`
8484
- `cloudflare.verified_bot_category`

0 commit comments

Comments
 (0)