Skip to content

Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.

docs(api): document observer.filesystem from #2045 (#2057)

Evo8f9e1c0d979d
diff --git a/docs/en/api/07-system.md b/docs/en/api/07-system.md
index e46bc41c5..7d8072975 100644
--- a/docs/en/api/07-system.md
+++ b/docs/en/api/07-system.md
@@ -820,6 +820,64 @@ ov observer retrieval
---
+### observer.filesystem
+
+#### 1. API Implementation Overview
+
+Get filesystem operation metrics.
+
+**Code Entry Points**:
+- `openviking/server/routers/observer.py:observer_filesystem` - HTTP route
+- `openviking/service/debug_service.py:ObserverService.filesystem` - Core implementation
+- `openviking/storage/observers/filesystem_observer.py` - Filesystem observer
+- `crates/ov_cli/src/commands/observer.rs` - CLI command
+
+#### 2. Interface and Parameters
+
+No parameters.
+
+#### 3. Usage Examples
+
+**HTTP API**
+
+```
+GET /api/v1/observer/filesystem
+```
+
+```bash
+curl -X GET http://localhost:1933/api/v1/observer/filesystem \
+ -H "X-API-Key: your-key"
+```
+
+**Python SDK**
+
+```python
+print(client.observer.filesystem)
+```
+
+**CLI**
+
+```bash
+ov observer filesystem
+```
+
+**Response Example**
+
+```json
+{
+ "status": "ok",
+ "result": {
+ "name": "filesystem",
+ "is_healthy": true,
+ "has_errors": false,
+ "status": "..."
+ },
+ "time": 0.1
+}
+```
+
+---
+
### observer.system
#### 1. API Implementation Overview
diff --git a/docs/en/concepts/12-metrics.md b/docs/en/concepts/12-metrics.md
index badbb10e0..3f87cc008 100644
--- a/docs/en/concepts/12-metrics.md
+++ b/docs/en/concepts/12-metrics.md
@@ -313,6 +313,7 @@ Typical `component` values include:
- `lock`
- `retrieval`
- `vikingdb`
+- `filesystem`
### VikingDB and Model Usage Statistics
diff --git a/docs/zh/api/07-system.md b/docs/zh/api/07-system.md
index d17b3dbf5..c3860ad85 100644
--- a/docs/zh/api/07-system.md
+++ b/docs/zh/api/07-system.md
@@ -814,6 +814,64 @@ ov observer retrieval
---
+### observer.filesystem
+
+#### 1. API 实现介绍
+
+获取文件系统操作指标。
+
+**代码入口**:
+- `openviking/server/routers/observer.py:observer_filesystem` - HTTP 路由
+- `openviking/service/debug_service.py:ObserverService.filesystem` - 核心实现
+- `openviking/storage/observers/filesystem_observer.py` - 文件系统观察者
+- `crates/ov_cli/src/commands/observer.rs` - CLI 命令
+
+#### 2. 接口和参数说明
+
+无参数。
+
+#### 3. 使用示例
+
+**HTTP API**
+
+```
+GET /api/v1/observer/filesystem
+```
+
+```bash
+curl -X GET http://localhost:1933/api/v1/observer/filesystem \
+ -H "X-API-Key: your-key"
+```
+
+**Python SDK**
+
+```python
+print(client.observer.filesystem)
+```
+
+**CLI**
+
+```bash
+ov observer filesystem
+```
+
+**响应示例**
+
+```json
+{
+ "status": "ok",
+ "result": {
+ "name": "filesystem",
+ "is_healthy": true,
+ "has_errors": false,
+ "status": "..."
+ },
+ "time": 0.1
+}
+```
+
+---
+
### observer.system
#### 1. API 实现介绍
diff --git a/docs/zh/concepts/12-metrics.md b/docs/zh/concepts/12-metrics.md
index 7c8ff2c77..fe76434d3 100644
--- a/docs/zh/concepts/12-metrics.md
+++ b/docs/zh/concepts/12-metrics.md
@@ -316,6 +316,7 @@ scrape_configs:
- `lock`
- `retrieval`
- `vikingdb`
+- `filesystem`
### VikingDB 与模型使用统计