Migrate to new GraphQL nodes
After 30 September 2021, Cloudflare will make the following changes to the Load Balancing GraphQL schema:
- Deprecate nodes:
loadBalancingRequestsGroups
will be deprecated forloadBalancingRequestsAdaptiveGroups
loadBalancingRequests
will be deprecated forloadBalancingRequestsAdaptive
- Deprecate the
date
field (replace it with the existingdatetime
field) - Add the
sampleInterval
field
The following example:
- Replaces
loadBalancingRequestsGroups
withloadBalancingRequestsAdaptiveGroups
- Replaces
date
withdatetime
- Uses the new
sampleInterval
field
query { viewer { zones(filter: { zoneTag: "your Zone ID" }) { loadBalancingRequestsAdaptiveGroups( filter: { datetime_gt: "2021-06-12T04:00:00Z", datetime_lt: "2021-06-13T06:00:00Z" } ) { dimensions { datetime coloCode ... } avg { sampleInterval } } } }}
Was this helpful?
- Resources
- API
- New to Cloudflare?
- Products
- Sponsorships
- Open Source
- Support
- Help Center
- System Status
- Compliance
- GDPR
- Company
- cloudflare.com
- Our team
- Careers
- 2025 Cloudflare, Inc.
- Privacy Policy
- Terms of Use
- Report Security Issues
- Trademark