aboutsummaryrefslogtreecommitdiffstats
path: root/crates/aggregator/aggregator.toml
blob: b9a0695e5cde8ee895d283e749018316123dff12 (plain)
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
[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