Skip to content

Commit e8d67ed

Browse files
authored
[changelog] workers-observability: add query builder & workers logs ga changelog (#21543)
* [changelog] workers-observability: add query builder changelog * [changelog] workers-observability: add workers logs ga changelog * set hidden to false * remove new designation for workers logs --------- Co-authored-by: Rohin Lohe <[email protected]>
1 parent f5ce4d9 commit e8d67ed

File tree

5 files changed

+51
-4
lines changed

5 files changed

+51
-4
lines changed
138 KB
Loading
116 KB
Loading
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
title: Investigate your Workers with the Query Builder in the new Observability dashboard
3+
description: Workers Observability now offers a Query Builder to help developers construct structured queries to investigate their telemtry data.
4+
products:
5+
- workers
6+
date: 2025-04-09T00:00:00Z
7+
hidden: false
8+
---
9+
10+
import { WranglerConfig } from "~/components"
11+
12+
The [Workers Observability dashboard](https://dash.cloudflare.com/?to=/:account/workers-and-pages/observability/) offers a single place to investigate and explore your [Workers Logs](/workers/observability/logs/workers-logs).
13+
14+
The **Overview** tab shows logs from all your Workers in one place. The **Invocations** view groups logs together by invocation, which refers to the specific trigger that started the execution of the Worker (i.e. fetch). The **Events** view shows logs in the order they were produced, based on timestamp. Previously, you could only view logs for a single Worker.
15+
16+
![Workers Observability Overview Tab](src/assets/images/changelog/workers/observability/2025-04-09-workers-observability-overview.png)
17+
18+
The **Investigate** tab presents a Query Builder, which helps you write structured queries to investigate and visualize your logs. The Query Builder can help answer questions such as:
19+
- Which paths are experiencing the most 5XX errors?
20+
- What is the wall time distribution by status code for my Worker?
21+
- What are the slowest requests, and where are they coming from?
22+
- Who are my top N users?
23+
24+
![Workers Observability Overview Tab](src/assets/images/changelog/workers/observability/2025-04-09-query-builder.png)
25+
26+
The Query Builder can use any field that you store in your logs as a key to visualize, filter, and group by. Use the Query Builder to quickly access your data, build visualizations, save queries, and share them with your team.
27+
28+
### Workers Logs is now Generally Available
29+
30+
[Workers Logs](/workers/observability/logs/workers-logs) is now Generally Available. With a [small change](/workers/observability/logs/workers-logs/#enable-workers-logs) to your Wrangler configuration, Workers Logs ingests, indexes, and stores all logs emitted from your Workers for up to 7 days.
31+
32+
We've introduced a number of changes during our beta period, including:
33+
- Dashboard enhancements with customizable fields as columns in the Logs view and support for invocation-based grouping
34+
- Performance improvements to ensure no adverse impact
35+
- Public [API endpoints](https://developers.cloudflare.com/api/resources/workers/subresources/observability/) for broader consumption
36+
37+
The API documents three endpoints: list the keys in the telemetry dataset, run a query, and list the unique values for a key. For more, visit our [REST API documentation](https://developers.cloudflare.com/api/resources/workers/subresources/observability/).
38+
39+
Visit the [docs](/workers/observability/query-builder) to learn more about the capabilities and methods exposed by the Query Builder. Start using Workers Logs and the Query Builder today by enabling observability for your Workers:
40+
41+
<WranglerConfig>
42+
```toml
43+
[observability]
44+
enabled = true
45+
46+
[observability.logs]
47+
invocation_logs = true
48+
head_sampling_rate = 1 # optional. default = 1.
49+
```
50+
</WranglerConfig>

src/content/changelog/workers/2025-04-09-workers-timing.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: CPU time and Wall time now published for Workers Invocations
33
description: Workers Observability tooling now shows CPU time and Wall time for a Workers Invocation.
44
products:
55
- workers
6-
date: 2025-04-09T00:00:00Z
6+
date: 2025-04-09T00:01:00Z
77
hidden: true
88
---
99

src/content/docs/workers/observability/logs/workers-logs.mdx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ head: []
55
description: Store, filter, and analyze log data emitted from Cloudflare Workers.
66
sidebar:
77
order: 2
8-
badge:
9-
variant: tip
10-
text: New
118

129
---
1310

0 commit comments

Comments
 (0)