127 lines
2.2 KiB
TOML
127 lines
2.2 KiB
TOML
|
|
[orchestrator.batch]
|
||
|
|
metrics = false
|
||
|
|
operation_timeout = 1800000
|
||
|
|
parallel_limit = 5
|
||
|
|
|
||
|
|
[orchestrator.batch.checkpointing]
|
||
|
|
enabled = true
|
||
|
|
interval = 100
|
||
|
|
max_checkpoints = 10
|
||
|
|
|
||
|
|
[orchestrator.batch.rollback]
|
||
|
|
enabled = true
|
||
|
|
max_rollback_depth = 5
|
||
|
|
strategy = "checkpoint_based"
|
||
|
|
|
||
|
|
[orchestrator.extensions]
|
||
|
|
auto_load = false
|
||
|
|
discovery_interval = 300
|
||
|
|
max_concurrent = 5
|
||
|
|
sandbox = true
|
||
|
|
timeout = 30000
|
||
|
|
|
||
|
|
[orchestrator.logging]
|
||
|
|
format = "&"
|
||
|
|
level = "&"
|
||
|
|
outputs = ["stdout"]
|
||
|
|
|
||
|
|
[orchestrator.logging.fields]
|
||
|
|
caller = false
|
||
|
|
hostname = true
|
||
|
|
pid = true
|
||
|
|
service_name = true
|
||
|
|
stack_trace = false
|
||
|
|
timestamp = true
|
||
|
|
|
||
|
|
[orchestrator.logging.file]
|
||
|
|
compress = false
|
||
|
|
max_age = 30
|
||
|
|
max_backups = 10
|
||
|
|
max_size = 104857600
|
||
|
|
path = "/var/log/provisioning/service.log"
|
||
|
|
|
||
|
|
[orchestrator.logging.performance]
|
||
|
|
enabled = false
|
||
|
|
memory_info = false
|
||
|
|
slow_threshold = 1000
|
||
|
|
|
||
|
|
[orchestrator.logging.sampling]
|
||
|
|
enabled = false
|
||
|
|
initial = 100
|
||
|
|
thereafter = 100
|
||
|
|
|
||
|
|
[orchestrator.logging.syslog]
|
||
|
|
protocol = "udp"
|
||
|
|
|
||
|
|
[orchestrator.monitoring]
|
||
|
|
enabled = false
|
||
|
|
|
||
|
|
[orchestrator.monitoring.alerting]
|
||
|
|
enabled = false
|
||
|
|
|
||
|
|
[orchestrator.monitoring.health_check]
|
||
|
|
enabled = false
|
||
|
|
endpoint = "/health"
|
||
|
|
healthy_threshold = 2
|
||
|
|
interval = 30
|
||
|
|
timeout = 5000
|
||
|
|
type = "&"
|
||
|
|
unhealthy_threshold = 3
|
||
|
|
|
||
|
|
[orchestrator.monitoring.metrics]
|
||
|
|
buffer_size = 1000
|
||
|
|
enabled = false
|
||
|
|
interval = 60
|
||
|
|
prometheus_path = "/metrics"
|
||
|
|
retention_days = 30
|
||
|
|
|
||
|
|
[orchestrator.monitoring.resources]
|
||
|
|
alert_threshold = 80
|
||
|
|
cpu = false
|
||
|
|
disk = false
|
||
|
|
memory = false
|
||
|
|
network = false
|
||
|
|
|
||
|
|
[orchestrator.monitoring.tracing]
|
||
|
|
enabled = false
|
||
|
|
sample_rate = 0.1
|
||
|
|
|
||
|
|
[orchestrator.queue]
|
||
|
|
max_concurrent_tasks = 5
|
||
|
|
metrics = false
|
||
|
|
persist = true
|
||
|
|
priority_queue = false
|
||
|
|
retry_attempts = 3
|
||
|
|
retry_delay = 5000
|
||
|
|
task_timeout = 3600000
|
||
|
|
|
||
|
|
[orchestrator.queue.dead_letter_queue]
|
||
|
|
enabled = true
|
||
|
|
max_size = 1000
|
||
|
|
|
||
|
|
[orchestrator.server]
|
||
|
|
graceful_shutdown = true
|
||
|
|
host = "127.0.0.1"
|
||
|
|
keep_alive = 75
|
||
|
|
max_connections = 100
|
||
|
|
port = 9090
|
||
|
|
request_timeout = 30000
|
||
|
|
shutdown_timeout = 30
|
||
|
|
workers = 4
|
||
|
|
|
||
|
|
[orchestrator.storage]
|
||
|
|
backend = "filesystem"
|
||
|
|
path = "/var/lib/provisioning/orchestrator/data"
|
||
|
|
|
||
|
|
[orchestrator.storage.cache]
|
||
|
|
enabled = true
|
||
|
|
eviction_policy = "lru"
|
||
|
|
ttl = 3600
|
||
|
|
type = "in_memory"
|
||
|
|
|
||
|
|
[orchestrator.workspace]
|
||
|
|
enabled = true
|
||
|
|
multi_workspace = false
|
||
|
|
name = "default"
|
||
|
|
path = "/var/lib/provisioning/orchestrator"
|