From 648a64782c4e941edd488ccb2b4be4b710ff1545 Mon Sep 17 00:00:00 2001 From: GnomeZworc Date: Thu, 23 Apr 2026 23:30:05 +0200 Subject: [PATCH] f-21: conf: add full conf exemple Signed-off-by: GnomeZworc --- conf/agent/config.exemple.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/conf/agent/config.exemple.yml b/conf/agent/config.exemple.yml index bc1d437..0a966dd 100644 --- a/conf/agent/config.exemple.yml +++ b/conf/agent/config.exemple.yml @@ -1,8 +1,35 @@ +# Path to the Badger key-value database directory database: path: "/var/lib/two/data/" +# REST API server +api: + address: "0.0.0.0" + port: 8080 + +# Prometheus metrics server +prometheus: + address: "0.0.0.0" + port: 9090 + +# Worker pool that executes dispatched commands +worker: + # Number of concurrent worker goroutines + count: 4 + # Maximum number of commands queued before Dispatch blocks + buffer_size: 100 + +# Timing for commands that wait on resource state transitions +dispatcher: + # How long (in seconds) to wait before giving up + timeout_seconds: 300 + # Interval (in seconds) between each state check + poll_seconds: 2 + +# Bridge interface used when the requested iface_type is not found in interfaces default_interface: br-000000 +# Map of logical interface types to physical bridge names on this host interfaces: vms: br-000000 internet: br-000000