See #1605
When Cryostat archives an active recording it should add a label indicating the startTime of the active recording. The archivedTime is a loose proxy for the timestamp of the last event in the recording, and the startTime would be a loose proxy for the timestamp of the first event in the recording. Currently archived recordings have only indications of when they ended, but without parsing the actual recording data there is no way for a client to determine the duration or start time of the data within. However, since a recording may run for a long time and have maxAge/maxSize configurations and the oldest data may have been dropped from the recording, the recording's duration should also be labelled.
Additionally, now that Cryostat has audit log support, the archived recordings could be labelled with the active recording ID. This would enable historical lookup of further information that may be present.
When Cryostat Agent instances periodically push recordings into Cryostat's storage, the Agent should also include such labels for startTime, duration, and source active recording ID.
See #1605
When Cryostat archives an active recording it should add a label indicating the startTime of the active recording. The archivedTime is a loose proxy for the timestamp of the last event in the recording, and the startTime would be a loose proxy for the timestamp of the first event in the recording. Currently archived recordings have only indications of when they ended, but without parsing the actual recording data there is no way for a client to determine the duration or start time of the data within. However, since a recording may run for a long time and have maxAge/maxSize configurations and the oldest data may have been dropped from the recording, the recording's duration should also be labelled.
Additionally, now that Cryostat has audit log support, the archived recordings could be labelled with the active recording ID. This would enable historical lookup of further information that may be present.
When Cryostat Agent instances periodically push recordings into Cryostat's storage, the Agent should also include such labels for startTime, duration, and source active recording ID.