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`
413
+
|enabled|Deprecated - use monitoring.enabled instead|`boolean`|`true`
414
+
|path|Deprecated - use monitoring.metricsPath instead|`string`|`/metrics`
415
+
|port|Deprecated - use monitoring.port instead|`int`|`6000`
416
+
|publicURL|Deprecated - use monitoring.publicURL instead|URL `string`|`<nil>`
417
+
|readTimeout|Deprecated - use monitoring.readTimeout instead|[`time.Duration`](https://pkg.go.dev/time#Duration)|`15s`
418
+
|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`
419
+
|writeTimeout|Deprecated - use monitoring.writeTimeout instead|[`time.Duration`](https://pkg.go.dev/time#Duration)|`15s`
420
+
421
+
## metrics.auth
422
+
423
+
|Key|Description|Type|Default Value|
424
+
|---|-----------|----|-------------|
425
+
|type|The auth plugin to use for server side authentication of requests|`string`|`<nil>`
426
+
427
+
## metrics.auth.basic
428
+
429
+
|Key|Description|Type|Default Value|
430
+
|---|-----------|----|-------------|
431
+
|passwordfile|The path to a .htpasswd file to use for authenticating requests. Passwords should be hashed with bcrypt.|`string`|`<nil>`
432
+
433
+
## metrics.tls
434
+
435
+
|Key|Description|Type|Default Value|
436
+
|---|-----------|----|-------------|
437
+
|ca|The TLS certificate authority in PEM format (this option is ignored if caFile is also set)|`string`|`<nil>`
438
+
|caFile|The path to the CA file for TLS on this API|`string`|`<nil>`
439
+
|cert|The TLS certificate in PEM format (this option is ignored if certFile is also set)|`string`|`<nil>`
440
+
|certFile|The path to the certificate file for TLS on this API|`string`|`<nil>`
441
+
|clientAuth|Enables or disables client auth for TLS on this API|`string`|`<nil>`
442
+
|enabled|Enables or disables TLS on this API|`boolean`|`false`
443
+
|insecureSkipHostVerify|When to true in unit test development environments to disable TLS verification. Use with extreme caution|`boolean`|`<nil>`
444
+
|key|The TLS certificate key in PEM format (this option is ignored if keyFile is also set)|`string`|`<nil>`
445
+
|keyFile|The path to the private key file for TLS on this API|`string`|`<nil>`
446
+
|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>`
447
+
448
+
## monitoring
449
+
410
450
|Key|Description|Type|Default Value|
411
451
|---|-----------|----|-------------|
412
452
|address|The IP address on which the metrics HTTP API should listen|`int`|`127.0.0.1`
413
453
|enabled|Enables the metrics API|`boolean`|`true`
414
-
|path|The path from which to serve the Prometheus metrics|`string`|`/metrics`
454
+
|metricsPath|The path from which to serve the Prometheus metrics|`string`|`/metrics`
415
455
|port|The port on which the metrics HTTP API should listen|`int`|`6000`
416
456
|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>`
417
457
|readTimeout|The maximum time to wait when reading from an HTTP connection|[`time.Duration`](https://pkg.go.dev/time#Duration)|`15s`
418
458
|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`
419
459
|writeTimeout|The maximum time to wait when writing to an HTTP connection|[`time.Duration`](https://pkg.go.dev/time#Duration)|`15s`
420
460
421
-
## metrics.auth
461
+
## monitoring.auth
422
462
423
463
|Key|Description|Type|Default Value|
424
464
|---|-----------|----|-------------|
425
465
|type|The auth plugin to use for server side authentication of requests|`string`|`<nil>`
426
466
427
-
## metrics.auth.basic
467
+
## monitoring.auth.basic
428
468
429
469
|Key|Description|Type|Default Value|
430
470
|---|-----------|----|-------------|
431
471
|passwordfile|The path to a .htpasswd file to use for authenticating requests. Passwords should be hashed with bcrypt.|`string`|`<nil>`
ConfigTransactionWriterBatchTimeout=ffc("config.transaction.writer.batchTimeout", "How long to wait for more transactions to arrive before flushing the batch", i18n.TimeDurationType)
321
321
ConfigTransactionWriterCount=ffc("config.transaction.writer.count", "The number of message writer workers", i18n.IntType)
322
322
323
-
ConfigMetricsAddress=ffc("config.metrics.address", "The IP address on which the metrics HTTP API should listen", i18n.IntType)
324
-
ConfigMetricsEnabled=ffc("config.metrics.enabled", "Enables the metrics API", i18n.BooleanType)
325
-
ConfigMetricsPath=ffc("config.metrics.path", "The path from which to serve the Prometheus metrics", i18n.StringType)
326
-
ConfigMetricsPort=ffc("config.metrics.port", "The port on which the metrics HTTP API should listen", i18n.IntType)
327
-
ConfigMetricsPublicURL=ffc("config.metrics.publicURL", "The fully qualified public URL for the metrics API. This is used for building URLs in HTTP responses and in OpenAPI Spec generation", urlStringType)
328
-
ConfigMetricsReadTimeout=ffc("config.metrics.readTimeout", "The maximum time to wait when reading from an HTTP connection", i18n.TimeDurationType)
329
-
ConfigMetricsWriteTimeout=ffc("config.metrics.writeTimeout", "The maximum time to wait when writing to an HTTP connection", i18n.TimeDurationType)
323
+
DeprecatedConfigMetricsAddress=ffc("config.metrics.address", "Deprecated - use monitoring.address instead", i18n.IntType)
324
+
DeprecatedConfigMetricsEnabled=ffc("config.metrics.enabled", "Deprecated - use monitoring.enabled instead", i18n.BooleanType)
325
+
DeprecatedConfigMetricsPath=ffc("config.metrics.path", "Deprecated - use monitoring.metricsPath instead", i18n.StringType)
326
+
DeprecatedConfigMetricsPort=ffc("config.metrics.port", "Deprecated - use monitoring.port instead", i18n.IntType)
327
+
DeprecatedConfigMetricsPublicURL=ffc("config.metrics.publicURL", "Deprecated - use monitoring.publicURL instead", urlStringType)
328
+
DeprecatedConfigMetricsReadTimeout=ffc("config.metrics.readTimeout", "Deprecated - use monitoring.readTimeout instead", i18n.TimeDurationType)
329
+
DeprecatedConfigMetricsWriteTimeout=ffc("config.metrics.writeTimeout", "Deprecated - use monitoring.writeTimeout instead", i18n.TimeDurationType)
330
+
331
+
ConfigMetricsAddress=ffc("config.monitoring.address", "The IP address on which the metrics HTTP API should listen", i18n.IntType)
332
+
ConfigMetricsEnabled=ffc("config.monitoring.enabled", "Enables the metrics API", i18n.BooleanType)
333
+
ConfigMetricsPath=ffc("config.monitoring.metricsPath", "The path from which to serve the Prometheus metrics", i18n.StringType)
334
+
ConfigMetricsPort=ffc("config.monitoring.port", "The port on which the metrics HTTP API should listen", i18n.IntType)
335
+
ConfigMetricsPublicURL=ffc("config.monitoring.publicURL", "The fully qualified public URL for the metrics API. This is used for building URLs in HTTP responses and in OpenAPI Spec generation", urlStringType)
336
+
ConfigMetricsReadTimeout=ffc("config.monitoring.readTimeout", "The maximum time to wait when reading from an HTTP connection", i18n.TimeDurationType)
337
+
ConfigMetricsWriteTimeout=ffc("config.monitoring.writeTimeout", "The maximum time to wait when writing to an HTTP connection", i18n.TimeDurationType)
330
338
331
339
ConfigNamespacesDefault=ffc("config.namespaces.default", "The default namespace - must be in the predefined list", i18n.StringType)
332
340
ConfigNamespacesPredefined=ffc("config.namespaces.predefined", "A list of namespaces to ensure exists, without requiring a broadcast from the network", "List "+i18n.StringType)
0 commit comments