diff --git a/packages/web/docs/src/content/gateway/usage-reporting.mdx b/packages/web/docs/src/content/gateway/usage-reporting.mdx index 08276740d..85fff0a40 100644 --- a/packages/web/docs/src/content/gateway/usage-reporting.mdx +++ b/packages/web/docs/src/content/gateway/usage-reporting.mdx @@ -76,15 +76,17 @@ import { defineConfig } from '@graphql-hive/gateway' export const gatewayConfig = defineConfig({ reporting: { type: 'hive', - // The registry token provided by Hive Registry + // The registry token provided by Hive Registry, defaulting to process.env.HIVE_USAGE_ACCESS_TOKEN token: '' - // The registry target which the usage data should be reported to + // The registry target which the usage data should be reported to defaulting to process.env.HIVE_USAGE_TARGET + // This can either be a slug following the format `$organizationSlug/$projectSlug/$targetSlug` (e.g `the-guild/graphql-hive/staging`) + // or an UUID (e.g. `a0f4c605-6541-4350-8cfe-b31f21a4bf80`). target: '' /** * Other options * * selfHosting: { ... }, - * clientInfo: { ... }, + * clientInfo(context) { ... }, * * See more in Hive Client reference */