Index ingestion stats
The index page shows last ingest, 24-hour ingestion, size and 7-day growth, and password reset works for users with linked Google accounts.
The index detail page now shows four stats: last ingest, ingestion over 24 hours, index size, and average growth over 7 days. The 24-hour and 7-day stats come from a snapshot of Quickwit’s index stats taken every 5 minutes, so new deployments show collecting data until history builds up. The new calculation also fixes inflated 24-hour counts when history had gaps.
Users with both a Google and a password account can now reset their password; before, the linked Google account blocked it. In the log drawer, click a trace ID to copy it.
Before you upgrade
- Back up
sqlite.db. Migrations0031–0033apply on startup. - Every index now uses OpenTelemetry field defaults until you save explicit settings. If a non-OTel index relied on the old
levelandmessagedefaults, save its settings under Administration → Indexes → Configuration first.
Changelog
Added
- Index stats strip expanded to four cards. The header on the index detail page now shows Last ingest, Ingestion · 24h, Index size, and Growth · 7d avg. The 24-hour and 7-day cards are computed from a new background snapshot job (
index-stats-snapshot.ts) that captures Quickwit’sdescribeIndexoutput every 5 minutes and prunes rows older than 35 days. New deployments display—/collecting datauntil enough history is available. - Trace ID button in the log detail drawer. Click the trace ID in an expanded log entry to copy it to the clipboard, with a paired clipboard-failure announcement for assistive tech.
- Repository hygiene. GitHub issue templates (bug report, feature request) and a pull request template, plus
CODE_OF_CONDUCT.mdandSECURITY.md.
Changed
- Field-mapping defaults are now universal. Previously, only indexes with IDs starting with
otel-logs-received OpenTelemetry-friendly defaults (severity_text/body.message/attributes.exception.stacktrace); other indexes fell back tolevel/message/ empty. Every index now uses the OTel-friendly defaults until you save explicit settings in Administration → Indexes → Configuration. Existing indexes with saved settings are unaffected. - Password-reset gating moved from Google-presence to credential-presence. Reset password and self-serve password change are now disabled when a user has no credential account (i.e. has only ever signed in via Google). Users who have both a Google and a credential account can now reset their password normally — previously the linked Google account blocked the action. A new
user.has_credential_accountcolumn tracks this. - Log detail drawer rework. Refactored layout, value-cell styling, and copy interactions for better readability and accessibility.
- Internal:
indexes_metatable renamed toindex_settings; ingest gateway and OTLP route extracted bearer parsing into$lib/server/utils/bearer.ts; Quickwit client and several services moved from a factory to a singleton import.
Fixed
- Inflated 24-hour ingestion metrics. The previous calendar-aligned histogram could over-report the 24-hour count when snapshot history had gaps. The redesigned card uses snapshot deltas with a tight ±1h anchor window so missing history yields
—rather than a misleading multi-day total. - Removed a
console.logthat leaked user IDs during the Google account-linking flow.
Removed
- Unused
IndexPicker.sveltecomponent.
Upgrade notes
- Back up
sqlite.dbbefore running migrations. - Migrations
0031–0033will apply on startup. They renameindexes_meta→index_settingsand adduser.has_credential_account(back-filled from existingaccountrows). - If your index visibility/field configuration was relying on the previous
level/messagedefaults for non-OTel indexes, save explicit settings on those indexes from Administration → Indexes → Configuration before upgrading.