Skip to content

Commit

Permalink
[docs] Update query-batching with billable details (#6735)
Browse files Browse the repository at this point in the history
  • Loading branch information
smyrick authored Feb 10, 2025
2 parents 1724f0f + de906f2 commit 410d370
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/source/routing/performance/query-batching.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,11 @@ To enable batching in an Apollo client, configure `BatchHttpLink`. For details o

If the router receives a query batch from a client, and batching is *not* enabled, the router sends a `BATCHING_NOT_ENABLED` error to the client.

## Query batching and GraphOS plans
When processing batched operations, the router counts each entry in the batch as a distinct billable operation that counts towards your graph usage. Sending a batch with `N` operations is counted the same as sending `N` requests of the same non-batched operation.

Note that GraphOS plans only track router operations, so configuring subgraph batching does not impact your graph usage count.

## Metrics for query batching

Metrics in the GraphOS Router for query batching:
Expand Down

0 comments on commit 410d370

Please sign in to comment.