-
Notifications
You must be signed in to change notification settings - Fork 10k
Adds Container metrics querying docs #23946
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: production
Are you sure you want to change the base?
Conversation
|
This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:
|
|
@gpanders anything look off about my query? I'm getting this response when I run it: |
|
Preview URL: https://0cd571ab.preview.developers.cloudflare.com Files with changes (up to 15) |
| "query": "query GetCloudchamberMetrics($accountTag: string!, $datetimeStart: Time, $datetimeEnd: Time, $applicationId: string) { | ||
| viewer { | ||
| accounts(filter: { accountTag: $accountTag }) { | ||
| cloudchamberMetricsAdaptiveGroups( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Before we document this publicly we should investigate whether it's possible to rename/alias this so that users can use containersMetricsAdaptiveGroups instead of cloudchamber. I'll ask internally about this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gpanders do you have any updates? Is it ok to merge?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We've changed this internally so that containersMetricsAdaptiveGroups will work. We should update this PR to use that instead of cloudchamber.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I've approved. @mikenomitch @gpanders I can merge it?
src/content/docs/analytics/graphql-api/tutorials/querying-container-metrics.mdx
Outdated
Show resolved
Hide resolved
src/content/docs/analytics/graphql-api/tutorials/querying-container-metrics.mdx
Outdated
Show resolved
Hide resolved
Co-authored-by: Gregory Anders <[email protected]>
Summary
Adds example of querying GraphQL for container metrics.
Documentation checklist