memory_store_state
Record a state event by saving an entity's metric value with optional unit and tags to the memory store.
Instructions
存一条状态事件到记忆库:某实体(entity)在某个指标(metric)上的数值(value),可带单位与标签。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ts | No | unix 时间戳秒,默认当前 | |
| tags | No | 标签,可选 | |
| unit | No | 单位,可选 | |
| value | Yes | 数值 | |
| entity | Yes | 实体名,如 gpu/cpu/user/repo | |
| metric | Yes | 指标名,如 temperature/usage/purity |