forked from rohitg00/agentmemory
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathiii-config.yaml
More file actions
61 lines (61 loc) · 1.71 KB
/
Copy pathiii-config.yaml
File metadata and controls
61 lines (61 loc) · 1.71 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
workers:
- name: iii-http
config:
port: 3111
host: 127.0.0.1
default_timeout: 180000
cors:
allowed_origins: ["http://localhost:3111", "http://localhost:3113", "http://127.0.0.1:3111", "http://127.0.0.1:3113"]
allowed_methods: [GET, POST, PUT, DELETE, OPTIONS]
- name: iii-state
config:
adapter:
name: kv
config:
store_method: file_based
file_path: ./data/state_store.db
- name: iii-queue
config:
adapter:
name: builtin
- name: iii-pubsub
config:
adapter:
name: local
- name: iii-cron
config:
adapter:
name: kv
- name: iii-stream
config:
port: 3112
host: 127.0.0.1
adapter:
name: kv
config:
store_method: file_based
file_path: ./data/stream_store
- name: iii-observability
config:
enabled: true
service_name: agentmemory
exporter: memory
# 0.1 instead of 1.0: at full sampling under sustained load the
# log subscriber falls behind, the worker emits a "Log trigger
# subscriber lagged" WARN, and that WARN re-enters the same
# stream the subscriber is failing to drain — a positive
# feedback loop that wrote 137 GB to daemon.log.new on one user
# in a few days (#519).
sampling_ratio: 0.1
metrics_enabled: true
logs_enabled: true
# Console output is off by default; the feedback path needs the
# console layer to amplify. Re-enable per-session via env if you
# need verbose tracing for debugging.
logs_console_output: false
- name: iii-exec
config:
watch:
- src/**/*.ts
exec:
- node dist/index.mjs