You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: config.md
+42-2
Original file line number
Diff line number
Diff line change
@@ -175,8 +175,8 @@
175
175
|Key|Description|Type|Default Value|
176
176
|---|-----------|----|-------------|
177
177
|address|The IP address on which the metrics HTTP API should listen|`int`|`127.0.0.1`
178
-
|enabled|Enables the metrics API|`boolean`|`false`
179
-
|path|The path from which to serve the Prometheus metrics|`string`|`/metrics`
178
+
|enabled|Deprecated: Please use 'monitoring.enabled' instead|`boolean`|`false`
179
+
|path|Deprecated: Please use 'monitoring.metricsPath' instead|`string`|`/metrics`
180
180
|port|The port on which the metrics HTTP API should listen|`int`|`6000`
181
181
|publicURL|The fully qualified public URL for the metrics API. This is used for building URLs in HTTP responses and in OpenAPI Spec generation|URL `string`|`<nil>`
182
182
|readTimeout|The maximum time to wait when reading from an HTTP connection|[`time.Duration`](https://pkg.go.dev/time#Duration)|`15s`
@@ -210,6 +210,46 @@
210
210
|keyFile|The path to the private key file for TLS on this API|`string`|`<nil>`
211
211
|requiredDNAttributes|A set of required subject DN attributes. Each entry is a regular expression, and the subject certificate must have a matching attribute of the specified type (CN, C, O, OU, ST, L, STREET, POSTALCODE, SERIALNUMBER are valid attributes)|`map[string]string`|`<nil>`
212
212
213
+
## monitoring
214
+
215
+
|Key|Description|Type|Default Value|
216
+
|---|-----------|----|-------------|
217
+
|address|Listener address|`int`|`127.0.0.1`
218
+
|enabled|Enables the monitoring APIs|`boolean`|`false`
219
+
|metricsPath|The path from which to serve the Prometheus metrics|`string`|`/metrics`
220
+
|port|Listener port|`int`|`6000`
221
+
|publicURL|Externally available URL for the HTTP endpoint|`string`|`<nil>`
222
+
|readTimeout|HTTP server read timeout|[`time.Duration`](https://pkg.go.dev/time#Duration)|`15s`
223
+
|shutdownTimeout|HTTP server shutdown timeout|[`time.Duration`](https://pkg.go.dev/time#Duration)|`10s`
224
+
|writeTimeout|HTTP server write timeout|[`time.Duration`](https://pkg.go.dev/time#Duration)|`15s`
225
+
226
+
## monitoring.auth
227
+
228
+
|Key|Description|Type|Default Value|
229
+
|---|-----------|----|-------------|
230
+
|type|The auth plugin to use for server side authentication of requests|`string`|`<nil>`
231
+
232
+
## monitoring.auth.basic
233
+
234
+
|Key|Description|Type|Default Value|
235
+
|---|-----------|----|-------------|
236
+
|passwordfile|The path to a .htpasswd file to use for authenticating requests. Passwords should be hashed with bcrypt.|`string`|`<nil>`
237
+
238
+
## monitoring.tls
239
+
240
+
|Key|Description|Type|Default Value|
241
+
|---|-----------|----|-------------|
242
+
|ca|The TLS certificate authority in PEM format (this option is ignored if caFile is also set)|`string`|`<nil>`
243
+
|caFile|The path to the CA file for TLS on this API|`string`|`<nil>`
244
+
|cert|The TLS certificate in PEM format (this option is ignored if certFile is also set)|`string`|`<nil>`
245
+
|certFile|The path to the certificate file for TLS on this API|`string`|`<nil>`
246
+
|clientAuth|Enables or disables client auth for TLS on this API|`string`|`<nil>`
247
+
|enabled|Enables or disables TLS on this API|`boolean`|`false`
248
+
|insecureSkipHostVerify|When to true in unit test development environments to disable TLS verification. Use with extreme caution|`boolean`|`<nil>`
249
+
|key|The TLS certificate key in PEM format (this option is ignored if keyFile is also set)|`string`|`<nil>`
250
+
|keyFile|The path to the private key file for TLS on this API|`string`|`<nil>`
251
+
|requiredDNAttributes|A set of required subject DN attributes. Each entry is a regular expression, and the subject certificate must have a matching attribute of the specified type (CN, C, O, OU, ST, L, STREET, POSTALCODE, SERIALNUMBER are valid attributes)|`map[string]string`|`<nil>`
0 commit comments