Skip to content

Commit 822a4e0

Browse files
committed
Removes default on date
1 parent d8471f9 commit 822a4e0

File tree

4 files changed

+40
-51
lines changed

4 files changed

+40
-51
lines changed
Lines changed: 21 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,44 @@
11
---
2-
title: Workers automatic tracing, now in open beta
2+
title: Workers automatic tracing, now in open beta
33
description: Gain instant visibility into Workers execution with automatic tracing and OpenTelemetry exports
44
products:
55
- workers
66
date: 2025-11-06
77
---
88

9-
Enable automatic tracing on your Workers, giving you detailed metadata and timing information for every operation your Worker performs.
9+
import { Render } from "~/components";
10+
11+
Enable automatic tracing on your Workers, giving you detailed metadata and timing information for every operation your Worker performs.
1012

1113
![Tracing example](~/assets/images/workers-observability/R2_Screenshot.png)
1214

1315
Tracing helps you identify performance bottlenecks, resolve errors, and understand how your Worker interacts with other services on the Workers platform. You can now answer questions like:
14-
* Which calls are slowing down my application?
15-
* Which queries to my database take the longest?
16-
* What happened within a request that resulted in an error?
16+
17+
- Which calls are slowing down my application?
18+
- Which queries to my database take the longest?
19+
- What happened within a request that resulted in an error?
1720

1821
**You can now:**
19-
* View traces alongside your logs in the Workers Observability dashboard
20-
* Export traces (and correlated logs) to any [OTLP-compatible destination](https://opentelemetry.io/docs/specs/otel/protocol/), such as [Honeycomb](/workers/observability/exporting-opentelemetry-data/honeycomb/), [Sentry](/workers/observability/exporting-opentelemetry-data/sentry/) or [Grafana](/workers/observability/exporting-opentelemetry-data/grafana-cloud/), by configuring a tracing destination in the [Cloudflare dashboard](https://dash.cloudflare.com/?to=/:account/workers-and-pages/observability/destinations)
21-
* Analyze and query across span attributes (operation type, status, duration, errors)
2222

23-
## To get started, set:
23+
- View traces alongside your logs in the Workers Observability dashboard
24+
- Export traces (and correlated logs) to any [OTLP-compatible destination](https://opentelemetry.io/docs/specs/otel/protocol/), such as [Honeycomb](/workers/observability/exporting-opentelemetry-data/honeycomb/), [Sentry](/workers/observability/exporting-opentelemetry-data/sentry/) or [Grafana](/workers/observability/exporting-opentelemetry-data/grafana-cloud/), by configuring a tracing destination in the [Cloudflare dashboard](https://dash.cloudflare.com/?to=/:account/workers-and-pages/observability/destinations)
25+
- Analyze and query across span attributes (operation type, status, duration, errors)
2426

25-
```jsonc
26-
{
27-
"observability": {
28-
"tracing": {
29-
"enabled": true
30-
}
31-
}
32-
}
33-
```
34-
35-
Starting with the compatibility date of [2025-11-19](/workers/configuration/compatibility-flags/#automatic-tracing), the following will also enable tracing **in addition to** logs:
27+
## To get started, set:
3628

3729
```jsonc
3830
{
39-
"observability": {
40-
"enabled": true
41-
}
31+
"observability": {
32+
"tracing": {
33+
"enabled": true,
34+
},
35+
},
4236
}
4337
```
4438

39+
<Render file="tracing-beta-config-note" product="workers" />
4540

46-
## Want to learn more?
47-
* [Read the announcement](https://blog.cloudflare.com/workers-tracing-now-in-open-beta/)
48-
* [Check out the documentation](/workers/observability/traces/)
49-
50-
41+
## Want to learn more?
5142

43+
- [Read the announcement](https://blog.cloudflare.com/workers-tracing-now-in-open-beta/)
44+
- [Check out the documentation](/workers/observability/traces/)

src/content/compatibility-flags/automatic-tracing.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ _build:
66

77
name: "Automatic tracing"
88
sort_date: "2025-11-05"
9-
enable_date: "2025-11-19"
109
enable_flag: "enable_workers_observability_tracing"
1110
---
1211

@@ -15,20 +14,18 @@ This flag will enable [Workers Tracing](/workers/observability/traces/) by defau
1514
```json
1615
{
1716
"observability": {
18-
"enabled": true
19-
}
17+
"enabled": true
18+
}
2019
}
2120
```
2221

23-
24-
You can also explictly turn on automatic tracing without the flag and with older compatibility dates by setting the following:
25-
22+
You can also explictly turn on automatic tracing without the flag and with older compatibility dates by setting the following:
2623

2724
```json
2825
{
2926
"observability": {
3027
"traces": {
31-
"enabled": true,
28+
"enabled": true
3229
}
3330
}
3431
}

src/content/docs/workers/observability/traces/index.mdx

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ sidebar:
77
text: Beta
88
---
99

10-
import { WranglerConfig } from "~/components";
10+
import { WranglerConfig, Render } from "~/components";
1111

1212
### What is Workers tracing?
1313

@@ -50,21 +50,7 @@ You can configure tracing by setting `observability.traces.enabled = true` in yo
5050

5151
</WranglerConfig>
5252

53-
Starting with the [compatibility date of 2025-11-19](/workers/configuration/compatibility-flags/#automatic-tracing), the following will also enable tracing **in addition to** logs.
54-
55-
<WranglerConfig>
56-
57-
```json
58-
{
59-
"observability": {
60-
"enabled": true
61-
}
62-
}
63-
```
64-
65-
</WranglerConfig>
66-
67-
53+
<Render file="tracing-beta-config-note" product="workers" />
6854

6955
### Exporting OpenTelemetry traces to a 3rd party destination
7056

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
{}
3+
---
4+
5+
:::note
6+
In the future, Cloudflare plans to enable automatic tracing in addition to logs
7+
when you set `observability.enabled = true` in your Wrangler configuration.
8+
9+
While automatic tracing is in early beta, this setting will not enable tracing by default,
10+
and will only enable logs.
11+
12+
An updated `compatibility_date` will be required for this change to take effect.
13+
:::

0 commit comments

Comments
 (0)