Skip to content

Conversation

@elithrar
Copy link
Collaborator

@elithrar elithrar commented Dec 30, 2025

DO NOT MERGE: need cloudflare/workers-sdk#11776 to merge first.

Adds documentation for the new wrangler analytics-engine command that allows querying Workers Analytics Engine datasets directly from the CLI.

Changes

  • Wrangler Commands Reference (src/content/docs/workers/wrangler/commands.mdx):

    • Added analytics-engine to the table of contents
    • Added full command documentation with usage, flags, and examples
  • New CLI Querying Page (src/content/docs/analytics/analytics-engine/cli-querying.mdx):

    • Created new page following the pattern of existing "Querying from Grafana" and "Querying from a Worker" pages
    • Includes prerequisites, basic usage, output formats, example queries, and scripting examples
  • Get Started Guide (src/content/docs/analytics/analytics-engine/get-started.mdx):

    • Added Wrangler CLI as a query option alongside SQL API and GraphQL API
    • Added Wrangler example in the "Write your first query" section

Related

- Add analytics-engine command to Wrangler commands reference
- Create new 'Querying from CLI' page in Analytics Engine docs
- Update get-started guide to show Wrangler as a query option
@github-actions
Copy link
Contributor

github-actions bot commented Dec 30, 2025

This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:

Pattern Owners
/src/content/changelog/ @cloudflare/pm-changelogs, @cloudflare/pcx-technical-writing
/src/content/docs/analytics/analytics-engine/ @irvinebroque, @elithrar, @nevikashah, @WalshyDev, @cloudflare/pcx-technical-writing
/src/content/docs/workers/wrangler/ @cloudflare/wrangler, @irvinebroque, @cloudflare/pcx-technical-writing, @cloudflare/workers-runtime-1

@elithrar elithrar marked this pull request as draft December 30, 2025 18:59
- Add ae alias note to command reference
- Change <QUERY> to [QUERY] with clarifying note
- Use npx wrangler consistently (remove PackageManagers)
- Fix section title to imperative mood
- Add changelog entry for Analytics Engine CLI
@elithrar elithrar marked this pull request as ready for review December 31, 2025 17:48
@elithrar elithrar requested a review from a team as a code owner December 31, 2025 17:48
@elithrar elithrar marked this pull request as draft December 31, 2025 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product:analytics Related to Analytics product product:workers Related to Workers product size/m

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants