Skip to content

Commit e3d9c93

Browse files
committed
Adding insights into D1 Wrangler commands page.
1 parent 70f249b commit e3d9c93

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

src/content/docs/d1/wrangler-commands.mdx

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,16 @@ D1 Wrangler commands use REST APIs to interact with the control plane. This page
1414

1515
## Global commands
1616

17-
<Render file="wrangler-commands/global-flags" product="workers" />
17+
<Render file="wrangler-commands/global-flags" product="workers" />
18+
19+
## Experimental commands
20+
21+
### `insights`
22+
23+
Returns statistics about your queries.
24+
25+
```sh
26+
npx wrangler d1 insights <database_name> --<option>
27+
```
28+
29+
For more information, see [Query `insights`](/d1/observability/metrics-analytics/#query-insights).

0 commit comments

Comments
 (0)