Skip to content

Commit 3ee199c

Browse files
authored
Update usage-reporting.mdx (#6636)
1 parent 9b2bec6 commit 3ee199c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

packages/web/docs/src/content/gateway/usage-reporting.mdx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,15 +76,17 @@ import { defineConfig } from '@graphql-hive/gateway'
7676
export const gatewayConfig = defineConfig({
7777
reporting: {
7878
type: 'hive',
79-
// The registry token provided by Hive Registry
79+
// The registry token provided by Hive Registry, defaulting to process.env.HIVE_USAGE_ACCESS_TOKEN
8080
token: '<token>'
81-
// The registry target which the usage data should be reported to
81+
// The registry target which the usage data should be reported to defaulting to process.env.HIVE_USAGE_TARGET
82+
// This can either be a slug following the format `$organizationSlug/$projectSlug/$targetSlug` (e.g `the-guild/graphql-hive/staging`)
83+
// or an UUID (e.g. `a0f4c605-6541-4350-8cfe-b31f21a4bf80`).
8284
target: '<target>'
8385
/**
8486
* Other options
8587
*
8688
* selfHosting: { ... },
87-
* clientInfo: { ... },
89+
* clientInfo(context) { ... },
8890
*
8991
* See more in Hive Client reference
9092
*/

0 commit comments

Comments
 (0)