Monitoring
Monitoring architecture covers runtime observability and runtime-safe operational control.
High-level runtime flow
Runtime monitoring data comes from the Segment API surface on
SegmentIndex.metricsSnapshot(). The management agent reads snapshots for
/api/v1/report, and runtime-safe config overrides are applied in-memory only
for the running process. Monitoring and management APIs do not directly access
index files.

Scope
- Monitoring Bridge: optional adapters that export runtime snapshots to external systems (Micrometer/Prometheus).
- Monitoring API: node-local management API exposed by
monitoring-rest-json(/api/v1/*) for reports, actions, and runtime config overrides.
Module structure
enginemonitoring-micrometermonitoring-prometheusmonitoring-rest-json-apimonitoring-rest-jsonmonitoring-console-web
Runtime model
monitoring-rest-jsonaggregates snapshots from all monitored indexes in one JVM.monitoring-console-webconsumes the API and renders node/index runtime views.- Runtime config overrides are applied in memory only and do not rewrite persisted index metadata.
GET /api/v1/configexposessupportedKeys; the same list defines which keys are accepted byPATCH /api/v1/config.