aboutsummaryrefslogtreecommitdiffstats
path: root/crates/aggregator/aggregator.toml
diff options
context:
space:
mode:
authorrtkay123 <dev@kanjala.com>2025-08-16 14:13:14 +0200
committerrtkay123 <dev@kanjala.com>2025-08-16 14:13:14 +0200
commit70a148dd86be9c8ccc56e1fce232262475aa3158 (patch)
tree51214ab651215ef94a8554039cc953042b043cf6 /crates/aggregator/aggregator.toml
parentbf4a2b8b0a04f0cb682db84a835fe7c57d8526bc (diff)
downloadwarden-70a148dd86be9c8ccc56e1fce232262475aa3158.tar.bz2
warden-70a148dd86be9c8ccc56e1fce232262475aa3158.zip
feat(aggregator): write evaluation
Diffstat (limited to 'crates/aggregator/aggregator.toml')
-rw-r--r--crates/aggregator/aggregator.toml39
1 files changed, 39 insertions, 0 deletions
diff --git a/crates/aggregator/aggregator.toml b/crates/aggregator/aggregator.toml
new file mode 100644
index 0000000..b9a0695
--- /dev/null
+++ b/crates/aggregator/aggregator.toml
@@ -0,0 +1,39 @@
+[application]
+env = "development"
+
+[monitoring]
+log-level = "warden_aggregator=trace,info"
+opentelemetry-endpoint = "http://localhost:4317"
+loki-endpoint = "http://localhost:3100"
+
+[misc.nats]
+stream-name = "tadp"
+subjects = ["tadp.>"]
+durable-name = "tadp"
+
+[database]
+pool_size = 100
+port = 5432
+name = "evaluations"
+host = "localhost"
+password = "password"
+user = "postgres"
+
+[nats]
+hosts = ["nats://localhost:4222"]
+
+[cache]
+dsn = "redis://localhost:6379"
+pooled = true
+type = "non-clustered" # clustered, non-clustered or sentinel
+max-connections = 100
+
+[cache.sentinel]
+master-name = "mymaster"
+nodes = [
+ { host = "127.0.0.1", port = 26379 },
+ { host = "127.0.0.2", port = 26379 },
+ { host = "127.0.0.3", port = 26379 },
+]
+
+# vim:ft=toml