|
16 | 16 | |[**query\_planner**](#query_planner)|`object`|Query planning configuration.<br/>Default: `{"allow_expose":false,"timeout":"10s"}`<br/>|| |
17 | 17 | |[**supergraph**](#supergraph)|`object`|Configuration for the Federation supergraph source. By default, the router will use a local file-based supergraph source (`./supergraph.graphql`).<br/>|| |
18 | 18 | |[**traffic\_shaping**](#traffic_shaping)|`object`|Configuration for the traffic-shaper executor. Use these configurations to control how requests are being executed to subgraphs.<br/>Default: `{"dedupe_enabled":true,"max_connections_per_host":100,"pool_idle_timeout_seconds":50}`<br/>|| |
19 | | -|[**usage\_reporting**](#usage_reporting)|`object`|Configuration for usage reporting to GraphQL Hive.<br/>Default: `{"accept_invalid_certs":false,"access_token":"","buffer_size":1000,"client_name_header":"graphql-client-name","client_version_header":"graphql-client-version","connect_timeout":"5s","enabled":false,"endpoint":"https://app.graphql-hive.com/usage","exclude":[],"flush_interval":"5s","request_timeout":"15s","sample_rate":"100%","target_id":null}`<br/>|yes| |
| 19 | +|[**usage\_reporting**](#usage_reporting)|`object`|Configuration for usage reporting to GraphQL Hive.<br/>Default: `{"accept_invalid_certs":false,"access_token":null,"buffer_size":1000,"client_name_header":"graphql-client-name","client_version_header":"graphql-client-version","connect_timeout":"5s","enabled":false,"endpoint":"https://app.graphql-hive.com/usage","exclude":[],"flush_interval":"5s","request_timeout":"15s","sample_rate":"100%","target_id":null}`<br/>|| |
20 | 20 |
|
21 | 21 | **Additional Properties:** not allowed |
22 | 22 | **Example** |
@@ -113,7 +113,7 @@ traffic_shaping: |
113 | 113 | pool_idle_timeout_seconds: 50 |
114 | 114 | usage_reporting: |
115 | 115 | accept_invalid_certs: false |
116 | | - access_token: '' |
| 116 | + access_token: null |
117 | 117 | buffer_size: 1000 |
118 | 118 | client_name_header: graphql-client-name |
119 | 119 | client_version_header: graphql-client-version |
@@ -1878,26 +1878,26 @@ Configuration for usage reporting to GraphQL Hive. |
1878 | 1878 |
|
1879 | 1879 | |Name|Type|Description|Required| |
1880 | 1880 | |----|----|-----------|--------| |
1881 | | -|**accept\_invalid\_certs**|`boolean`|Accepts invalid SSL certificates<br/>Default: false<br/>Default: `false`<br/>|no| |
1882 | | -|**access\_token**|`string`|Your [Registry Access Token](https://the-guild.dev/graphql/hive/docs/management/targets#registry-access-tokens) with write permission.<br/>|yes| |
1883 | | -|**buffer\_size**|`integer`|A maximum number of operations to hold in a buffer before sending to Hive Console<br/>Default: 1000<br/>Default: `1000`<br/>Format: `"uint"`<br/>Minimum: `0`<br/>|no| |
1884 | | -|**client\_name\_header**|`string`|Default: `"graphql-client-name"`<br/>|no| |
1885 | | -|**client\_version\_header**|`string`|Default: `"graphql-client-version"`<br/>|no| |
1886 | | -|**connect\_timeout**|`string`|A timeout for only the connect phase of a request to Hive Console<br/>Default: 5 seconds<br/>Default: `"5s"`<br/>|no| |
1887 | | -|**enabled**|`boolean`|Default: `false`<br/>|no| |
1888 | | -|**endpoint**|`string`|For self-hosting, you can override `/usage` endpoint (defaults to `https://app.graphql-hive.com/usage`).<br/>Default: `"https://app.graphql-hive.com/usage"`<br/>|no| |
1889 | | -|[**exclude**](#usage_reportingexclude)|`string[]`|A list of operations (by name) to be ignored by Hive.<br/>Default: <br/>|no| |
1890 | | -|**flush\_interval**|`string`|Frequency of flushing the buffer to the server<br/>Default: 5 seconds<br/>Default: `"5s"`<br/>|no| |
1891 | | -|**request\_timeout**|`string`|A timeout for the entire request to Hive Console<br/>Default: 15 seconds<br/>Default: `"15s"`<br/>|no| |
1892 | | -|**sample\_rate**|`string`|Sample rate to determine sampling.<br/>0% = never being sent<br/>50% = half of the requests being sent<br/>100% = always being sent<br/>Default: 100%<br/>Default: `"100%"`<br/>|no| |
1893 | | -|**target\_id**|`string`, `null`|A target ID, 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”). To be used when the token is configured with an organization access token.<br/>|no| |
| 1881 | +|**accept\_invalid\_certs**|`boolean`|Accepts invalid SSL certificates<br/>Default: false<br/>Default: `false`<br/>|| |
| 1882 | +|**access\_token**|`string`, `null`|Your [Registry Access Token](https://the-guild.dev/graphql/hive/docs/management/targets#registry-access-tokens) with write permission.<br/>|| |
| 1883 | +|**buffer\_size**|`integer`|A maximum number of operations to hold in a buffer before sending to Hive Console<br/>Default: 1000<br/>Default: `1000`<br/>Format: `"uint"`<br/>Minimum: `0`<br/>|| |
| 1884 | +|**client\_name\_header**|`string`|Default: `"graphql-client-name"`<br/>|| |
| 1885 | +|**client\_version\_header**|`string`|Default: `"graphql-client-version"`<br/>|| |
| 1886 | +|**connect\_timeout**|`string`|A timeout for only the connect phase of a request to Hive Console<br/>Default: 5 seconds<br/>Default: `"5s"`<br/>|| |
| 1887 | +|**enabled**|`boolean`|Default: `false`<br/>|| |
| 1888 | +|**endpoint**|`string`|For self-hosting, you can override `/usage` endpoint (defaults to `https://app.graphql-hive.com/usage`).<br/>Default: `"https://app.graphql-hive.com/usage"`<br/>|| |
| 1889 | +|[**exclude**](#usage_reportingexclude)|`string[]`|A list of operations (by name) to be ignored by Hive.<br/>Default: <br/>|| |
| 1890 | +|**flush\_interval**|`string`|Frequency of flushing the buffer to the server<br/>Default: 5 seconds<br/>Default: `"5s"`<br/>|| |
| 1891 | +|**request\_timeout**|`string`|A timeout for the entire request to Hive Console<br/>Default: 15 seconds<br/>Default: `"15s"`<br/>|| |
| 1892 | +|**sample\_rate**|`string`|Sample rate to determine sampling.<br/>0% = never being sent<br/>50% = half of the requests being sent<br/>100% = always being sent<br/>Default: 100%<br/>Default: `"100%"`<br/>|| |
| 1893 | +|**target\_id**|`string`, `null`|A target ID, 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”). To be used when the token is configured with an organization access token.<br/>|| |
1894 | 1894 |
|
1895 | 1895 | **Additional Properties:** not allowed |
1896 | 1896 | **Example** |
1897 | 1897 |
|
1898 | 1898 | ```yaml |
1899 | 1899 | accept_invalid_certs: false |
1900 | | -access_token: '' |
| 1900 | +access_token: null |
1901 | 1901 | buffer_size: 1000 |
1902 | 1902 | client_name_header: graphql-client-name |
1903 | 1903 | client_version_header: graphql-client-version |
|
0 commit comments