Initial working implementation (MVP)
This commit is contained in:
@@ -125,6 +125,13 @@ offset = 0.0
|
||||
path = ["vacuum"]
|
||||
```
|
||||
|
||||
## Remote Configuration
|
||||
|
||||
The agent allows the UI to read and update its configuration file (`~/.rmon/config.toml`) over the protocol.
|
||||
|
||||
- `ClientMessage::GetConfig`: Agent reads the file from disk and sends `AgentMessage::ConfigReport { config_toml }`.
|
||||
- `ClientMessage::UpdateConfig { config_toml }`: Agent writes the provided string to `~/.rmon/config.toml`. The agent's file watcher detects this change and reloads the sources.
|
||||
|
||||
## Source Adapter Trait
|
||||
|
||||
All data sources implement:
|
||||
|
||||
Reference in New Issue
Block a user