Add a GraphQL Analytics API query command
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- graphql, typescript
Research direction
Start by reading the CLI command registration and configuration handling to see how existing analytics commands obtain account and zone values. The issue proposes a GraphQL query command or a generic raw API command, but does not identify an entry point or settle the interface; clarify that scope before implementation. Done means the CLI can query datasets such as workersInvocationsAdaptive with account and zone supplied from config.
Written by the indexing model from the issue text.
Description
Version: cf 1.0.0-beta.10
Problem: There's no command for the GraphQL Analytics API (/client/v4/graphql). cf cli search "run graphql analytics query" returns analytics query timeseries/summary (zone traffic) and analytics_engine sql query, but nothing that can query datasets like workersInvocationsAdaptive or workersInvocationsScheduled.
Why it matters: Several operational questions are answered only in GraphQL, such as "did this Worker's cron fire in the last hour?" and per-script invocation and error counts.
Request: cf graphql --query @file.graphql --var key=value (account and zone filled in from the config), or cover it with a generic cf api command (see the raw-request issue).
- Dominant language
- TypeScript
- Stars
- 853
- Forks
- 42
- Avg merge
- 17h 57m
- Merged PRs (30d)
- 146
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from cloudflare/cf
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
cloudflare/cf#344 ·
Maintainers usually reply within 1 day
-
upstream
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
cloudflare/cf#262 ·
Maintainers usually reply within 1 day
-
`cf dev` rejects `--port` and `--host` for Vite projects, including the `cf init` templatePossibly taken @jamesopstad claimed this 6 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
cloudflare/cf#223 · 2 assignees ·
Maintainers usually reply within 1 day
-
upstream
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
cloudflare/cf#179 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 58/100
cloudflare/cf#347 ·
Maintainers usually reply within 1 day
Similar issues
-
Unsampled pageload span is profiled when profileLifecycle is 'trace' (browser UI profiling)Possibly taken @Jxxunnn claimed this today. OpenBrowser Waiting for: Product Owner
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
getsentry/sentry-javascript#25497 · 1 comment ·
Maintainers usually reply within 1 day
-
e2e-failure ready-to-code
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
redhat-developer/rhdh-plugin-export-overlays#4438 · 1 comment ·
Maintainers usually reply within 1 day
-
resource: destroying a resource calls AbortController.abort() without a reason, creating an AbortError with a stack trace each timePossibly taken A pull request linked to this issue is open or already merged. Openarea: core
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
angular/angular#71422 · 1 comment ·
Maintainers usually reply within 1 day
-
bug status: needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
facebook/docusaurus#12739 · 1 comment ·
Maintainers usually reply within 1 day
-
factory-active task-identify-harness-labels-done task-identify-issue-type-done
Difficulty 1/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day