|
17 | 17 | |[**query\_planner**](#query_planner)|`object`|Query planning configuration.<br/>Default: `{"allow_expose":false,"timeout":"10s"}`<br/>|| |
18 | 18 | |[**supergraph**](#supergraph)|`object`|Configuration for the Federation supergraph source. By default, the router will use a local file-based supergraph source (`./supergraph.graphql`).<br/>|| |
19 | 19 | |[**traffic\_shaping**](#traffic_shaping)|`object`|Configuration for the traffic-shaping of the executor. Use these configurations to control how requests are being executed to subgraphs.<br/>Default: `{"all":{"dedupe_enabled":true,"pool_idle_timeout":"50s","request_timeout":"30s"},"max_connections_per_host":100}`<br/>|| |
20 | | -|[**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| |
| 20 | +|[**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/>|| |
21 | 21 |
|
22 | 22 | **Additional Properties:** not allowed |
23 | 23 | **Example** |
@@ -121,7 +121,7 @@ traffic_shaping: |
121 | 121 | max_connections_per_host: 100 |
122 | 122 | usage_reporting: |
123 | 123 | accept_invalid_certs: false |
124 | | - access_token: '' |
| 124 | + access_token: null |
125 | 125 | buffer_size: 1000 |
126 | 126 | client_name_header: graphql-client-name |
127 | 127 | client_version_header: graphql-client-version |
@@ -1910,26 +1910,26 @@ Configuration for usage reporting to GraphQL Hive. |
1910 | 1910 |
|
1911 | 1911 | |Name|Type|Description|Required| |
1912 | 1912 | |----|----|-----------|--------| |
1913 | | -|**accept\_invalid\_certs**|`boolean`|Accepts invalid SSL certificates<br/>Default: false<br/>Default: `false`<br/>|no| |
1914 | | -|**access\_token**|`string`|Your [Registry Access Token](https://the-guild.dev/graphql/hive/docs/management/targets#registry-access-tokens) with write permission.<br/>|yes| |
1915 | | -|**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| |
1916 | | -|**client\_name\_header**|`string`|Default: `"graphql-client-name"`<br/>|no| |
1917 | | -|**client\_version\_header**|`string`|Default: `"graphql-client-version"`<br/>|no| |
1918 | | -|**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| |
1919 | | -|**enabled**|`boolean`|Default: `false`<br/>|no| |
1920 | | -|**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| |
1921 | | -|[**exclude**](#usage_reportingexclude)|`string[]`|A list of operations (by name) to be ignored by Hive.<br/>Default: <br/>|no| |
1922 | | -|**flush\_interval**|`string`|Frequency of flushing the buffer to the server<br/>Default: 5 seconds<br/>Default: `"5s"`<br/>|no| |
1923 | | -|**request\_timeout**|`string`|A timeout for the entire request to Hive Console<br/>Default: 15 seconds<br/>Default: `"15s"`<br/>|no| |
1924 | | -|**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| |
1925 | | -|**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| |
| 1913 | +|**accept\_invalid\_certs**|`boolean`|Accepts invalid SSL certificates<br/>Default: false<br/>Default: `false`<br/>|| |
| 1914 | +|**access\_token**|`string`, `null`|Your [Registry Access Token](https://the-guild.dev/graphql/hive/docs/management/targets#registry-access-tokens) with write permission.<br/>|| |
| 1915 | +|**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/>|| |
| 1916 | +|**client\_name\_header**|`string`|Default: `"graphql-client-name"`<br/>|| |
| 1917 | +|**client\_version\_header**|`string`|Default: `"graphql-client-version"`<br/>|| |
| 1918 | +|**connect\_timeout**|`string`|A timeout for only the connect phase of a request to Hive Console<br/>Default: 5 seconds<br/>Default: `"5s"`<br/>|| |
| 1919 | +|**enabled**|`boolean`|Default: `false`<br/>|| |
| 1920 | +|**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/>|| |
| 1921 | +|[**exclude**](#usage_reportingexclude)|`string[]`|A list of operations (by name) to be ignored by Hive.<br/>Default: <br/>|| |
| 1922 | +|**flush\_interval**|`string`|Frequency of flushing the buffer to the server<br/>Default: 5 seconds<br/>Default: `"5s"`<br/>|| |
| 1923 | +|**request\_timeout**|`string`|A timeout for the entire request to Hive Console<br/>Default: 15 seconds<br/>Default: `"15s"`<br/>|| |
| 1924 | +|**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/>|| |
| 1925 | +|**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/>|| |
1926 | 1926 |
|
1927 | 1927 | **Additional Properties:** not allowed |
1928 | 1928 | **Example** |
1929 | 1929 |
|
1930 | 1930 | ```yaml |
1931 | 1931 | accept_invalid_certs: false |
1932 | | -access_token: '' |
| 1932 | +access_token: null |
1933 | 1933 | buffer_size: 1000 |
1934 | 1934 | client_name_header: graphql-client-name |
1935 | 1935 | client_version_header: graphql-client-version |
|
0 commit comments