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
|address|Deprecated - use monitoring.address instead|`int`|`127.0.0.1`
412
+
|enabled|Deprecated - use monitoring.enabled instead|`boolean`|`true`
413
+
|path|Deprecated - use monitoring.metricsPath instead|`string`|`/metrics`
414
+
|port|Deprecated - use monitoring.port instead|`int`|`6000`
415
+
|publicURL|Deprecated - use monitoring.publicURL instead|URL `string`|`<nil>`
416
+
|readTimeout|Deprecated - use monitoring.readTimeout instead|[`time.Duration`](https://pkg.go.dev/time#Duration)|`15s`
417
+
|shutdownTimeout|The maximum amount of time to wait for any open HTTP requests to finish before shutting down the HTTP server|[`time.Duration`](https://pkg.go.dev/time#Duration)|`10s`
418
+
|writeTimeout|Deprecated - use monitoring.writeTimeout instead|[`time.Duration`](https://pkg.go.dev/time#Duration)|`15s`
419
+
420
+
## metrics.auth
421
+
422
+
|Key|Description|Type|Default Value|
423
+
|---|-----------|----|-------------|
424
+
|type|The auth plugin to use for server side authentication of requests|`string`|`<nil>`
425
+
426
+
## metrics.auth.basic
427
+
428
+
|Key|Description|Type|Default Value|
429
+
|---|-----------|----|-------------|
430
+
|passwordfile|The path to a .htpasswd file to use for authenticating requests. Passwords should be hashed with bcrypt.|`string`|`<nil>`
431
+
432
+
## metrics.tls
433
+
434
+
|Key|Description|Type|Default Value|
435
+
|---|-----------|----|-------------|
436
+
|ca|The TLS certificate authority in PEM format (this option is ignored if caFile is also set)|`string`|`<nil>`
437
+
|caFile|The path to the CA file for TLS on this API|`string`|`<nil>`
438
+
|cert|The TLS certificate in PEM format (this option is ignored if certFile is also set)|`string`|`<nil>`
439
+
|certFile|The path to the certificate file for TLS on this API|`string`|`<nil>`
440
+
|clientAuth|Enables or disables client auth for TLS on this API|`string`|`<nil>`
441
+
|enabled|Enables or disables TLS on this API|`boolean`|`false`
442
+
|insecureSkipHostVerify|When to true in unit test development environments to disable TLS verification. Use with extreme caution|`boolean`|`<nil>`
443
+
|key|The TLS certificate key in PEM format (this option is ignored if keyFile is also set)|`string`|`<nil>`
444
+
|keyFile|The path to the private key file for TLS on this API|`string`|`<nil>`
445
+
|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>`
446
+
447
+
## monitoring
448
+
409
449
|Key|Description|Type|Default Value|
410
450
|---|-----------|----|-------------|
411
451
|address|The IP address on which the metrics HTTP API should listen|`int`|`127.0.0.1`
412
452
|enabled|Enables the metrics API|`boolean`|`true`
413
-
|path|The path from which to serve the Prometheus metrics|`string`|`/metrics`
453
+
|metricsPath|The path from which to serve the Prometheus metrics|`string`|`/metrics`
414
454
|port|The port on which the metrics HTTP API should listen|`int`|`6000`
415
455
|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>`
416
456
|readTimeout|The maximum time to wait when reading from an HTTP connection|[`time.Duration`](https://pkg.go.dev/time#Duration)|`15s`
417
457
|shutdownTimeout|The maximum amount of time to wait for any open HTTP requests to finish before shutting down the HTTP server|[`time.Duration`](https://pkg.go.dev/time#Duration)|`10s`
418
458
|writeTimeout|The maximum time to wait when writing to an HTTP connection|[`time.Duration`](https://pkg.go.dev/time#Duration)|`15s`
419
459
420
-
## metrics.auth
460
+
## monitoring.auth
421
461
422
462
|Key|Description|Type|Default Value|
423
463
|---|-----------|----|-------------|
424
464
|type|The auth plugin to use for server side authentication of requests|`string`|`<nil>`
425
465
426
-
## metrics.auth.basic
466
+
## monitoring.auth.basic
427
467
428
468
|Key|Description|Type|Default Value|
429
469
|---|-----------|----|-------------|
430
470
|passwordfile|The path to a .htpasswd file to use for authenticating requests. Passwords should be hashed with bcrypt.|`string`|`<nil>`
0 commit comments