-
Notifications
You must be signed in to change notification settings - Fork 73
Expand file tree
/
Copy pathconfig.example.yaml
More file actions
99 lines (84 loc) · 3.91 KB
/
Copy pathconfig.example.yaml
File metadata and controls
99 lines (84 loc) · 3.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# clientname: Unique name for application instance
clientname: brave_worker
# no-program-tasks: Disable executing of PROGRAM tasks
no-program-tasks: true
# - PostgreSQL Connection Credentials -
connection:
# dbname: PG config DB dbname (default: timetable)
dbname: my_database
# host: PG config DB host (default: localhost)
host: my_host
# user: PG config DB user (default: scheduler)
user: scheduler_role
# password: PG config DB password
password: very_strong_one
# pgurl: PostgreSQL connection URL (optional, will override any conflicting command line options)
pgurl: postgres://scheduler_role@my_host/my_database
# port: PG config DB port (default: 5432)
port: 5433
# sslmode:[disable|require] What SSL priority use for connection
sslmode: require
# timeout: PostgreSQL connection timeout in seconds (default: 90)
timeout: 45
# - Logging Settings -
logging:
# log-level:[debug|info|error] Verbosity level for stdout and log file (default: info)
log-level: debug
# log-database-level:[debug|info|error|none] Verbosity level for database storing (default: info)
log-database-level: debug
# log-file: File name to store logs
log-file: session.log
# log-file-format:[json|text] Format of file logs (default: json)
log-file-format: text
# log-file-rotate Rotate log files
log-file-rotate: true
# log-file-size: Maximum size in MB of the log file before it gets rotated (default: 100)
log-file-size: 10
# log-file-age: Number of days to retain old log files, 0 means forever (default: 0)
log-file-age: 28
# log-file-number: Maximum number of old log files to retain, 0 to retain all (default: 0)
log-file-number: 10
# - Bootstrap Settings -
start:
# debug Run in debug mode. Only asynchronous chains will be executed
debug: false
# file: SQL script file to execute during startup
file: ""
# init: Initialize database schema to the latest version and exit
init: false
# upgrade: Upgrade database to the latest version
upgrade: true
# - Resource Settings -
resource:
# cron-workers: Number of parallel workers for scheduled chains (default: 16)
cron-workers: 10
# interval-workers: Number of parallel workers for interval chains (default: 16)
interval-workers: 6
# chain-timeout: Abort any chain that takes more than the specified number of milliseconds
chain-timeout: 0
# task-timeout: Abort any task within a chain that takes more than the specified number of milliseconds
task-timeout: 0
# - REST API Settings -
rest:
# rest-port: REST API port (default: 0)
rest-port: 8008
# - OpenTelemetry Settings -
otel:
# otel-endpoint: OTLP exporter endpoint URL (grpc://, http://, https://)
endpoint: ""
# otel-traces: Enable distributed tracing (default: false)
traces: false
# otel-metrics: Enable metrics export (default: false)
metrics: false
# otel-service-name: OTel service.name resource attribute (default: pg_timetable)
service-name: pg_timetable
# otel-headers: Custom headers for OTLP export (map of key: value)
headers: {}
# otel-insecure: Disable TLS for OTLP connection - dev only (default: false)
insecure: false
# otel-sample-ratio: Trace sampling ratio 0.0-1.0 (default: 1.0 = 100%)
sample-ratio: 1.0
# otel-metric-period: Metrics export interval in seconds (default: 30)
metric-period: 30
# otel-shutdown-timeout: OTel flush timeout in seconds on shutdown (default: 5)
shutdown-timeout: 5