Skip to content

Conversation

@caddoo
Copy link
Contributor

@caddoo caddoo commented Dec 16, 2025

Description

Adds a simple timing class for archiving context, recording results in this format:

archiving_metrics
├─ metadataid             BIGINT UNSIGNED PK AUTO_INCREMENT
├─ idarchive              BIGINT UNSIGNED NULL (idx: idx_archiving_metrics_idarchive)
├─ idsite                 INTEGER UNSIGNED NOT NULL
├─ segment                VARCHAR(255) NULL
├─ date1                  DATE NOT NULL
├─ date2                  DATE NOT NULL
├─ period                 VARCHAR(10) NOT NULL (idx: idx_archiving_metrics_site_date_period on idsite, date1, period)
├─ ts_started             DATETIME NOT NULL
├─ ts_finished            DATETIME NOT NULL
├─ total_time             BIGINT UNSIGNED NOT NULL
└─ total_time_exclusive   BIGINT UNSIGNED NOT NULL

Follow up will be integrating with the archiving process
and then a cleanup scheduled task to remove old data.

Checklist

  • [✔] I have understood, reviewed, and tested all AI outputs before use
  • [✔] All AI instructions respect security, IP, and privacy rules

Review

@caddoo caddoo force-pushed the dev-19750-timing-metrics branch 6 times, most recently from d089e53 to 9e837dc Compare December 17, 2025 21:01
@caddoo caddoo marked this pull request as ready for review December 17, 2025 22:20
@caddoo caddoo requested a review from mneudert December 17, 2025 22:20
@caddoo caddoo force-pushed the dev-19750-timing-metrics branch from 7d18ad1 to dd9f1d2 Compare December 18, 2025 04:57
@caddoo caddoo force-pushed the dev-19750-timing-metrics branch from 887b7ba to f08ed6e Compare December 19, 2025 02:21
@caddoo caddoo added this to the 5.7.0 milestone Dec 19, 2025
@caddoo caddoo requested a review from mneudert December 23, 2025 23:47
@github-actions
Copy link
Contributor

github-actions bot commented Jan 7, 2026

If you don't want this PR to be closed automatically in 28 days then you need to assign the label 'Do not close'.

@github-actions github-actions bot added the Stale The label used by the Close Stale Issues action label Jan 7, 2026
@github-actions github-actions bot removed the Stale The label used by the Close Stale Issues action label Jan 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants