Search by ticket id, engineer, cluster, state and time.
@@ -1218,8 +1221,13 @@ function renderIncMetrics(m, freshness) {
`
${num(cr.per_day_avg, 1)}Closures / day
`,
];
$('tk-metrics').innerHTML = tiles.join('');
- const fr = freshness && freshness.inc;
+ // Freshness is per-dataset — show the ACTIVE dataset's last ingest (was hardcoded to inc).
+ const fr = freshness && freshness[DS];
$('tk-fresh').textContent = fr ? `updated ${eatShort(fr.ingested_at)} · ${intg(fr.records_ingested)} records` : '';
+ // Mirror it in the ticket-explorer filter bar (below the Time field) so freshness is
+ // visible while searching, for both INC and CRQ.
+ const xf = $('tk-x-fresh');
+ if (xf) xf.textContent = fr ? `Last updated ${eatShort(fr.ingested_at)} EAT` : '';
}
// ── Ticket explorer (search) — GET /webhook/inc-search ──────────────────────