Skip to content

Commit 1dd9d6e

Browse files
author
Github Action
committed
chore: synced pact_broker docs
1 parent 2c14462 commit 1dd9d6e

1 file changed

Lines changed: 29 additions & 2 deletions

File tree

website/docs/pact_broker/configuration/settings.md

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,25 @@ The application log format. Can be any value supported by Semantic Logger.
3838
**Allowed values:** `default`, `json`, `color`<br/>
3939
**More information:** https://github.com/rocketjob/semantic_logger/tree/master/lib/semantic_logger/formatters<br/>
4040

41+
### log_otel_enabled
42+
43+
Controls whether logs are also emitted to the OpenTelemetry logs pipeline.
44+
45+
`auto` (the default) adds the OpenTelemetry appender only when the
46+
`opentelemetry-logs-sdk` gem is installed and an OpenTelemetry logger provider
47+
is configured. `true` forces the appender on and raises an error if the gem is
48+
not available. `false` disables it entirely.
49+
50+
The `opentelemetry-logs-sdk` gem is an optional, runtime-detected dependency and
51+
is not bundled with the Pact Broker. When `log_format` is set to `json`, active
52+
trace and span IDs are also embedded in the JSON log output.
53+
54+
**Supported versions:** From v2.120.0<br/>
55+
**Environment variable name:** `PACT_BROKER_LOG_OTEL_ENABLED`<br/>
56+
**YAML configuration key name:** `log_otel_enabled`<br/>
57+
**Default:** `auto`<br/>
58+
**Allowed values:** `auto`, `true`, `false`<br/>
59+
4160
### log_dir
4261

4362
The log file directory
@@ -252,8 +271,8 @@ The number of seconds after which an SQL query will be aborted. Only supported f
252271

253272
**Environment variable name:** `PACT_BROKER_DATABASE_STATEMENT_TIMEOUT`<br/>
254273
**YAML configuration key name:** `database_statement_timeout`<br/>
255-
**Default:** `15000`<br/>
256-
**Allowed values:** A positive integer in milliseconds<br/>
274+
**Default:** `15`<br/>
275+
**Allowed values:** A positive integer or float.<br/>
257276
**More information:** https://www.postgresql.org/docs/9.3/runtime-config-client.html<br/>
258277

259278
### metrics_sql_statement_timeout
@@ -537,6 +556,14 @@ The URL of the shields.io server used to generate the README badges.
537556
**Default:** `https://img.shields.io`<br/>
538557
**More information:** https://shields.io<br/>
539558

559+
### badge_default_cache_setting
560+
561+
Cache Control header value for the badge, this sets the cache-control header for the badge image, for more information on header formats see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/cache-control
562+
563+
**Environment variable name:** `PACT_BROKER_BADGE_DEFAULT_CACHE_SETTING`<br/>
564+
**YAML configuration key name:** `badge_default_cache_setting`<br/>
565+
**Default:** `max-age=30`<br/>
566+
540567
### badge_provider_mode
541568

542569
The method by which the badges are generated. When set to `redirect`, a request to the Pact Broker for a badge will be sent a redirect response

0 commit comments

Comments
 (0)