diff --git a/packages/web/docs/src/pages/docs/gateway/other-features/security/rate-limiting.mdx b/packages/web/docs/src/pages/docs/gateway/other-features/security/rate-limiting.mdx index 265f5cef2..ebc9d8f70 100644 --- a/packages/web/docs/src/pages/docs/gateway/other-features/security/rate-limiting.mdx +++ b/packages/web/docs/src/pages/docs/gateway/other-features/security/rate-limiting.mdx @@ -4,14 +4,14 @@ searchable: false import { Callout } from '@theguild/components' -## Rate Limiting +# Rate Limiting Rate limiting is a technique for reducing server load by limiting the number of requests that can be made to a subgraph. You can use rate limiting feature in order to limit the rate of calling queries and mutations. -### Programmatic Configuration +## Programmatic Configuration ```ts filename="gateway.config.ts" import { defineConfig } from '@graphql-hive/gateway' @@ -74,7 +74,7 @@ type Query { } ``` -### Field Configuration +## Field Configuration - `window`: Specify a time interval window that the max number of requests can access the field. We use Zeit's ms to parse the window arg, docs here. diff --git a/packages/web/docs/src/pages/docs/other-integrations/apollo-gateway.mdx b/packages/web/docs/src/pages/docs/other-integrations/apollo-gateway.mdx index 295d67a07..517f5bc4e 100644 --- a/packages/web/docs/src/pages/docs/other-integrations/apollo-gateway.mdx +++ b/packages/web/docs/src/pages/docs/other-integrations/apollo-gateway.mdx @@ -1,6 +1,6 @@ import { Callout } from '@theguild/components' -## Apollo Gateway +# Apollo Gateway [Apollo-Gateway](https://www.apollographql.com/docs/federation/v1/gateway/) is the JavaScript Apollo Federation gateway runtime. @@ -75,7 +75,7 @@ const { url } = await startStandaloneServer({ server }) console.log(`🚀 Server ready at ${url}`) ``` -### Usage Reporting +## Usage Reporting For more configuration options, such as sampling, client name and version reporting, please refer