mirror of
https://github.com/AstrBotDevs/AstrBot.git
synced 2026-10-16 06:58:51 +08:00
docs: simplify trace storage setting hints
This commit is contained in:
@@ -4802,17 +4802,17 @@ CONFIG_METADATA_3_SYSTEM = {
|
||||
"trace_db_path": {
|
||||
"description": "追踪数据库路径",
|
||||
"type": "string",
|
||||
"hint": "独立 SQLite 数据库,相对 data 目录。默认 logs/traces.db;更改路径后重启生效。开启追踪即持久化,不再输出 JSONL。",
|
||||
"hint": "相对路径以 data 目录为基准,例如 logs/traces.db;支持绝对路径。",
|
||||
},
|
||||
"trace_db_max_mb": {
|
||||
"description": "追踪数据库容量预算 (MB)",
|
||||
"type": "int",
|
||||
"hint": "正整数,默认 80 MB。按完整追踪淘汰旧数据;WAL 与检查点可能暂时增加磁盘占用,非瞬时硬上限。不支持无限容量。",
|
||||
"hint": "默认 80 MB,超出后自动清除旧数据。",
|
||||
},
|
||||
"trace_retention_days": {
|
||||
"description": "追踪保留天数",
|
||||
"type": "int",
|
||||
"hint": "正整数,默认 7 天;保留期限或容量预算先达到者触发清理。运行中的追踪不会被常规清理。",
|
||||
"hint": "默认 7 天,期限或容量先达到者触发清理。",
|
||||
},
|
||||
"pip_install_arg": {
|
||||
"description": "pip 安装额外参数",
|
||||
|
||||
@@ -1254,15 +1254,15 @@
|
||||
},
|
||||
"trace_db_path": {
|
||||
"description": "Trace Database Path",
|
||||
"hint": "Dedicated SQLite relative to data, default logs/traces.db. Restart after changing the path."
|
||||
"hint": "Relative paths start from the data directory, for example logs/traces.db. Absolute paths are also supported."
|
||||
},
|
||||
"trace_db_max_mb": {
|
||||
"description": "Trace Database Capacity Budget (MB)",
|
||||
"hint": "Positive integer, default 80 MB. Evict old complete traces. WAL and checkpoints may temporarily add disk usage; this is not an instantaneous hard limit."
|
||||
"hint": "Default: 80 MB. Old data is automatically cleared when this size is exceeded."
|
||||
},
|
||||
"trace_retention_days": {
|
||||
"description": "Trace Retention Days",
|
||||
"hint": "Positive integer, default 7 days. Cleanup when age or capacity is reached."
|
||||
"hint": "Default: 7 days. Old data is cleared when either the retention period or capacity is reached."
|
||||
},
|
||||
"pip_install_arg": {
|
||||
"description": "Additional pip Installation Arguments",
|
||||
|
||||
@@ -1355,15 +1355,15 @@
|
||||
},
|
||||
"trace_db_path": {
|
||||
"description": "トレースDBのパス",
|
||||
"hint": "data を基準とする専用 SQLite。既定は logs/traces.db。変更後は再起動が必要です。"
|
||||
"hint": "相対パスは data ディレクトリが基準です(例:logs/traces.db)。絶対パスも使用できます。"
|
||||
},
|
||||
"trace_db_max_mb": {
|
||||
"description": "トレースDB容量 (MB)",
|
||||
"hint": "正の整数。既定は 80 MB。古いトレース単位で削除。WAL とチェックポイントにより一時的に増えるため、厳密な瞬間上限ではありません。"
|
||||
"hint": "既定は 80 MB。超えると古いデータを自動的に削除します。"
|
||||
},
|
||||
"trace_retention_days": {
|
||||
"description": "トレース保持日数",
|
||||
"hint": "正の整数。既定は 7 日。期限または容量で削除します。"
|
||||
"hint": "既定は 7 日。保持期間または容量のどちらかに達すると古いデータを削除します。"
|
||||
},
|
||||
"pip_install_arg": {
|
||||
"description": "pip インストールの追加引数",
|
||||
|
||||
@@ -1359,15 +1359,15 @@
|
||||
},
|
||||
"trace_db_path": {
|
||||
"description": "Путь базы трассировок",
|
||||
"hint": "SQLite относительно data, по умолчанию logs/traces.db. После изменения нужен перезапуск."
|
||||
"hint": "Относительные пути считаются от каталога data, например logs/traces.db. Абсолютные пути также поддерживаются."
|
||||
},
|
||||
"trace_db_max_mb": {
|
||||
"description": "Бюджет базы трассировок (МБ)",
|
||||
"hint": "Положительное целое число, по умолчанию 80 МБ. Старые трассы удаляются целиком. WAL и контрольные точки могут временно увеличить размер; это не жёсткий мгновенный предел."
|
||||
"hint": "По умолчанию 80 МБ. При превышении этого размера старые данные удаляются автоматически."
|
||||
},
|
||||
"trace_retention_days": {
|
||||
"description": "Хранение трассировок (дни)",
|
||||
"hint": "Положительное целое число, по умолчанию 7 дней. Очистка по сроку или объёму."
|
||||
"hint": "По умолчанию 7 дней. Старые данные удаляются при достижении срока хранения или объёма."
|
||||
},
|
||||
"pip_install_arg": {
|
||||
"description": "Дополнительные аргументы установки pip",
|
||||
|
||||
@@ -1275,15 +1275,15 @@
|
||||
},
|
||||
"trace_db_path": {
|
||||
"description": "追踪数据库路径",
|
||||
"hint": "独立 SQLite,相对 data 目录,默认 logs/traces.db;更改后重启生效。"
|
||||
"hint": "相对路径以 data 目录为基准,例如 logs/traces.db;支持绝对路径。"
|
||||
},
|
||||
"trace_db_max_mb": {
|
||||
"description": "追踪数据库容量预算 (MB)",
|
||||
"hint": "正整数,默认 80 MB;按完整追踪淘汰旧数据。WAL 与检查点可能暂时增加磁盘占用,此值不是瞬时硬上限。"
|
||||
"hint": "默认 80 MB,超出后自动清除旧数据。"
|
||||
},
|
||||
"trace_retention_days": {
|
||||
"description": "追踪保留天数",
|
||||
"hint": "正整数,默认 7 天;期限或容量先达到者触发清理。"
|
||||
"hint": "默认 7 天,期限或容量先达到者触发清理。"
|
||||
},
|
||||
"pip_install_arg": {
|
||||
"description": "pip 安装额外参数",
|
||||
|
||||
Reference in New Issue
Block a user