Monitoring: correct the storage decision; history uses the AGPL telemetry key classes with the registry's encoding, and INBUXA's old history can't be read
This commit is contained in:
@@ -111,16 +111,17 @@ generator (milliseconds since an epoch in the high bits), so key order is time
|
|||||||
order. The trace search index is `SearchIndex::Tracing`, with fields
|
order. The trace search index is `SearchIndex::Tracing`, with fields
|
||||||
`EventType`, `QueueId` and `Keywords`.
|
`EventType`, `QueueId` and `Keywords`.
|
||||||
|
|
||||||
**Existing data at cutover, Decision** (revised 2026-09-19). The store's
|
**Existing data at cutover, Decision** (revised 2026-09-19). Traces and
|
||||||
AGPL key layout files `x:Trace` and `x:Metric` registry items under these
|
samples are stored under the AGPL telemetry key classes the surviving code
|
||||||
subspaces (`store/src/write/key.rs`), so a trace or sample is stored as that
|
reads (`TelemetryClass::Span` and `TelemetryClass::Metric`, used by
|
||||||
registry object, with the registry's own AGPL encoding (`ObjectInner`
|
`reindex_telemetry` and the index task), each value encoded as the matching
|
||||||
pickling). If INBUXA's history was written the same way, it reads back after
|
registry object (`x:Trace`, `x:Metric`) with the registry's own AGPL encoding,
|
||||||
cutover; this can't be confirmed without a copy of the data (compat test 26).
|
so no new format is invented. INBUXA's existing history sits under the same
|
||||||
Records that can't be decoded are skipped, never an error, and are removed by
|
keys but in the encoding the strip removed (`trc/src/serializers/binary.rs`),
|
||||||
the normal age purge (MON-17), so anything unreadable ages out within 30 and
|
so it can't be read. Records that can't be decoded are skipped, never an
|
||||||
90 days. At cutover, run `reindexTelemetry` once so the search index holds
|
error, and are removed by the normal age purge (MON-17), so INBUXA's old
|
||||||
only readable traces. Settings, alerts and every other registry object open
|
history ages out within 30 and 90 days. At cutover, run `reindexTelemetry`
|
||||||
|
once so the search index holds only readable traces. Settings, alerts and every other registry object open
|
||||||
unchanged.
|
unchanged.
|
||||||
|
|
||||||
## Required behavior
|
## Required behavior
|
||||||
|
|||||||
Reference in New Issue
Block a user