mirror of
https://github.com/graphql-hive/console
synced 2026-05-24 01:28:32 +00:00
Update usage-reporting.mdx (#6636)
This commit is contained in:
parent
9b2bec6185
commit
3ee199ccc9
1 changed files with 5 additions and 3 deletions
|
|
@ -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: '<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: '<target>'
|
||||
/**
|
||||
* Other options
|
||||
*
|
||||
* selfHosting: { ... },
|
||||
* clientInfo: { ... },
|
||||
* clientInfo(context) { ... },
|
||||
*
|
||||
* See more in Hive Client reference
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue