Two-Factor Sign-In Turn on two-factor sign-in in Settings → Profile and Rustrak asks for the code from your authenticator app on every way in: a password login, single sign-on, and linking an SSO identity to your account (@nasrulgunawan (https://github.com/nasrulgunawan)). • Ten recovery codes, which you can replace at any time • An admin with users:update can reset it for someone who lost their phone • With email set up, Rustrak writes to you when it is turned on or off, reset, given new recovery codes, or after too many wrong codes • OIDC_TRUST_PROVIDER_MFA=true skips Rustrak's code after an SSO login the provider reports as multi-factor See Two-factor authentication (https://rustrak.dev/usage/two-factor/). Application Metrics Rustrak ingests the counters, gauges and distributions Sentry SDKs send as trace_metric items. • An overview per project, and a page per metric with aggregates over time, grouping by attribute, filters and the samples behind them • A sample opens what else its trace holds: errors, logs, spans and other metrics • Metric monitors open an issue when a metric crosses a threshold over a window, and resolve it when it comes back, so your New issue and Regression alerts cover them • Read them over the API, the MCP server or the dashboard, behind a new metrics permission that every role that could read logs now has See Metrics (https://rustrak.dev/usage/metrics/). N+1 Queries Rustrak finds N+1 queries in a transaction's spans the way Sentry does and raises them as performance issues, which fire your alerts like any other issue (@Florian95 (https://github.com/Florian95)). Queries are compared by shape, so WHERE id = 7 and WHERE id = 8 are one query, and loops of several queries are caught too. The thresholds default to Sentry's and are set with RUSTRAK_N_PLUS_ONE_* variables. See N+1 queries (https://rustrak.dev/usage/n-plus-one-queries/). Uptime Assertions An uptime monitor can say what a healthy answer looks like instead of any 2xx: a status code, a header, a value in the JSON body, or several at once, written in Sentry's assertion format. See Assert on the response (https://rustrak.dev/usage/uptime/#assert-on-the-response). Improvements • Alert rules can fire only for error issues or only for uptime issues, or leave one of them out • Artifact bundles are assembled on disk one chunk at a time, so large source map uploads no longer hold the whole bundle in memory (@DanMeon (https://github.com/DanMeon)) Artifacts rustrak/rustrak-server:v0.38.0 rustrak/rustrak-server:v0.38.0-postgres rustrak/rustrak-ui:v0.38.0 @rustrak/client@0.38.0 on npm. Also tagged latest and postgres on Docker Hub. What's Changed • ci: speed up the Rust tests and the version PR by @AbianS in https://github.com/rustrak/rustrak/pull/704 • feat(server): uptime assertions on status code, headers and JSON body by @AbianS in https://github.com/rustrak/rustrak/pull/709 • feat: filter alert rules by issue type by @AbianS in https://github.com/rustrak/rustrak/pull/710 • ci: key the Rust cache on the pinned toolchain only by @AbianS in https://github.com/rustrak/rustrak/pull/711 • feat: two-factor sign-in with an authenticator app by @nasrulgunawan in https://github.com/rustrak/rustrak/pull/692 • feat(server): detect N+1 queries and raise them as performance issues by @AbianS in https://github.com/rustrak/rustrak/pull/713 • feat(server): detect N+1 queries and raise them as performance issues by @Florian95 in https://github.com/rustrak/rustrak/pull/669 • fix(server): assemble artifact bundles on disk, one chunk at a time by @DanMeon in https://github.com/rustrak/rustrak/pull/712 • feat(metrics): application metrics, metric pages and metric monitors by @AbianS in https://github.com/rustrak/rustrak/pull/684 • docs: two-factor and metrics pages with demos by @AbianS in https://github.com/rustrak/rustrak/pull/715 • chore: version packages by @AbianS in https://github.com/rustrak/rustrak/pull/716 New Contributors • @nasrulgunawan made their first contribution in https://github.com/rustrak/rustrak/pull/692 • @DanMeon made their first contribution in https://github.com/rustrak/rustrak/pull/712 Full Changelog: https://github.com/rustrak/rustrak/compare/v0.37.0...v0.38.0
Uptime Monitoring uptime (https://github.com/user-attachments/assets/f2bc8b5e-fe1e-443f-a091-050019951f4b) Rustrak requests a URL on an interval and opens an issue when it stops answering, the way Sentry's uptime monitors do. • Check every 1, 5, 10, 20, 30 or 60 minutes, and open an issue after a number of consecutive failures you choose • One event per outage, and the issue resolves when the URL is healthy again. Resolution by age leaves it alone • Custom headers are masked in responses and kept on update, like alert channel secrets, and are never sent to another origin on a redirect • Checks can reach private networks • Manage monitors from the dashboard, the API (/api/projects/{id}/uptime) or six MCP tools, behind a new uptime permission Storage Uptime checks and cron check-ins are their own kinds on the Storage page, with counts, size, age, cleanup and retention. Cron check-ins are no longer purged after a fixed 90 days: they follow the retention you set there, and each monitor keeps its newest 720. Plugins: Tasks, Jobs and Outbound HTTP • #[task("cron")] runs on a crontab in UTC, or on one the admin sets in the plugin's settings • #[job] runs work a call queues with ctx.enqueue, retried up to three times • ctx.fetch calls the hosts the plugin declares in network.allowedHosts or the admin lists in a setting, checked at every redirect, with a 5 MB response cap. The plugin page lists them under Access Plugins built for the previous plugin interface keep loading. See Scheduled tasks (/plugins/tasks/), Background jobs (/plugins/jobs/) and Outbound HTTP (/plugins/network/). Tokens That Create Tokens A token with api-tokens:create can create tokens that never exceed it: permissions, plugin permissions and projects are a subset of its own, and its expiry is a ceiling. Revoking a token revokes every token it created, and the dashboard shows which token created each one. Improvements • Roles and tokens reject a permission a resource does not support with a 400 that names the supported actions, instead of dropping it or answering 403 • Endpoints, queries and agent traces sort in both directions, over the API (order=asc|desc), MCP and the dashboard (@Florian95 (https://github.com/Florian95)) • Queries from streamed spans show the transaction they ran in, and an endpoint's totals count every one of its runs (@simpros (https://github.com/simpros)) Artifacts rustrak/rustrak-server:v0.37.0 rustrak/rustrak-server:v0.37.0-postgres rustrak/rustrak-ui:v0.37.0 @rustrak/client@0.37.0 on npm. Also tagged latest and postgres on Docker Hub. What's Changed • fix: reject unsupported permission pairs with a validation error by @AbianS in https://github.com/rustrak/rustrak/pull/689 • feat: let an API token create narrower API tokens by @AbianS in https://github.com/rustrak/rustrak/pull/691 • feat: uptime monitoring by @AbianS in https://github.com/rustrak/rustrak/pull/694 • fix: sort the performance and agents tables both ways by @Florian95 in https://github.com/rustrak/rustrak/pull/700 • fix(server): give a streamed query span its segment's transaction by @simpros in https://github.com/rustrak/rustrak/pull/696 • feat(plugins): scheduled tasks, background jobs and outbound HTTP by @AbianS in https://github.com/rustrak/rustrak/pull/702 • chore: version packages by @AbianS in https://github.com/rustrak/rustrak/pull/703 New Contributors • @simpros made their first contribution in https://github.com/rustrak/rustrak/pull/696 Full Changelog: https://github.com/rustrak/rustrak/compare/v0.36.1...v0.37.0
Alert Channel Secrets WARNING: On startup, this release runs database migrations that can take several minutes on instances with a lot of data. Don't stop the process until they finish. Secrets in alert channels are now write-only, for every role, over REST and MCP. • Responses mask the SMTP password, the Slack bot token, and a webhook's signing secret and header values • An update that leaves a secret out, or sends back the mask it read, keeps the stored value, so editing a channel no longer wipes its password • A mask with nothing stored behind it is rejected instead of being saved Faster Performance Page The Queries tab and the overview's slowest queries are read from the index alone instead of every span of the window: on 24M spans, 90 days went from 43 s to 3 s. The upgrade rebuilds that index, which can take a while on a large database. Improvements • The performance overview needs much less memory on large windows • MCP sign-in accepts clients such as ChatGPT that list none among their token endpoint auth methods • Durations are written in the reader's language (@Florian95 (https://github.com/Florian95)) • The performance overview's figures keep their height, the scope bar's filters fit on a phone, and DataTable columns fit before the first paint and keep their last resize handle inside the table (@Florian95 (https://github.com/Florian95)) Artifacts rustrak/rustrak-server:v0.36.1 rustrak/rustrak-server:v0.36.1-postgres rustrak/rustrak-ui:v0.36.1 @rustrak/client@0.36.1 on npm. Also tagged latest and postgres on Docker Hub. What's Changed • fix(ui): fit a DataTable's columns before its first paint by @Florian95 in https://github.com/rustrak/rustrak/pull/675 • fix(ui): keep the last column's resize handle inside the table by @Florian95 in https://github.com/rustrak/rustrak/pull/676 • fix: load the performance page without reading every span of the window by @AbianS in https://github.com/rustrak/rustrak/pull/670 • fix: accept CIMD clients that list none among their auth methods by @AbianS in https://github.com/rustrak/rustrak/pull/679 • fix(dashboard): size the scope bar's filters by their content on a phone by @Florian95 in https://github.com/rustrak/rustrak/pull/677 • fix: write durations in the reader's language by @Florian95 in https://github.com/rustrak/rustrak/pull/678 • fix(dashboard): keep the performance overview's figures at their height by @Florian95 in https://github.com/rustrak/rustrak/pull/681 • chore: update dependencies to latest by @AbianS in https://github.com/rustrak/rustrak/pull/683 • fix: never return alert channel secrets, keep them on update by @AbianS in https://github.com/rustrak/rustrak/pull/685 • chore: version packages by @AbianS in https://github.com/rustrak/rustrak/pull/686 Full Changelog: https://github.com/rustrak/rustrak/compare/v0.36.0...v0.36.1
Auto Resolve Auto Resolve Doc (https://rustrak.dev/usage/issues/#resolve-automatically) A project can now resolve its issues once they stop happening, like Sentry's Auto Resolve. • Settings › General › Auto resolve: pick how long an unresolved issue may go without an event, from 1 hour to 30 days. It is off by default • Every 10 minutes: the scheduler resolves the issues past that period in batches. User feedback, and issues you reopened by hand within the period, are left alone • A plain resolve: the next event regresses the issue, and the activity shows "resolved this issue after N days of inactivity" • GitHub stays in sync: linked issues are closed one batch at a time, so a large backlog does not flood the GitHub API • Also settable through the API as resolve_age (hours) on PATCH /api/projects/{id} Log Environments Logs keep the environment the SDK sent (sentry.environment), including logs stored before this release. • The logs page has an Environment filter beside the time window, and the list and volume endpoints take ?environment= • The list is now a table with level badges and an environment column. A line opens in place under its row, with its attributes grouped by namespace Improvements • Memory goes back after ingest bursts: variable-size batch inserts are no longer cached per connection, and a backlog stays in the digest queue instead of spilling to the recovery spool • The SQLite pool defaults to 4 connections (PostgreSQL keeps 10), and password hashing runs one at a time so concurrent logins do not stack Argon2 buffers • Project cards keep their figures inside the card, with a compact percent change Artifacts rustrak/rustrak-server:v0.35.0 rustrak/rustrak-server:v0.35.0-postgres rustrak/rustrak-ui:v0.35.0 @rustrak/client@0.35.0 on npm. Also tagged latest and postgres on Docker Hub. What's Changed • fix: add trailing slashes to docs links, sitemap and RSS by @AbianS in https://github.com/rustrak/rustrak/pull/623 • feat: auto resolve issues after a period without events by @AbianS in https://github.com/rustrak/rustrak/pull/622 • feat: environment on logs, with a filter and an inline line detail by @AbianS in https://github.com/rustrak/rustrak/pull/626 • perf: give memory back after ingest bursts by @AbianS in https://github.com/rustrak/rustrak/pull/625 • fix(dashboard): keep project card figures inside the card by @AbianS in https://github.com/rustrak/rustrak/pull/627 • chore: version packages by @AbianS in https://github.com/rustrak/rustrak/pull/628 Full Changelog: https://github.com/rustrak/rustrak/compare/v0.34.1...v0.35.0
Plugin Performance IMPORTANT: The plugin docs are live: how plugins work, how to install and configure them, and how to build your own with the SDK. Start at Plugins overview (https://rustrak.dev/plugins/overview/). Plugins now cost less to keep installed and to call. • Compiler memory goes back: installing a plugin used to leave about 10 MB of compiler state resident until a restart, even after uninstalling it. Plugins now compile on a throwaway engine, so that memory is freed when the compile ends • One shared call pool: every plugin call runs on one pool of four threads, instead of each Actix worker's blocking pool • Bounded queue: a call that cannot get a turn within five seconds gets a 503 instead of waiting behind the others • Sleeps respect the budget: a plugin that waits on a clock past its time budget is timed out at once instead of holding its turn • Faster boot on noexec: when the plugin directory is mounted noexec, compiled plugins are read into memory instead of recompiled at every boot • Lazy start: the plugin runtime starts with the first plugin installed, so an instance without plugins pays nothing for it Improvements • Settings › Plugins shows installed and published plugins in one searchable grid, with All, Installed, Available and Updates filters • A published plugin's README opens before you install or update it, and installing a .rtp from a file asks first, since that plugin is not verified • rustrak-plugin new asks its questions interactively (--install, --git and --yes answer for CI), and build traces its steps and ends with the package size by part Artifacts rustrak/rustrak-server:v0.34.1 rustrak/rustrak-server:v0.34.1-postgres rustrak/rustrak-ui:v0.34.1 @rustrak/client@0.34.1 on npm. Also tagged latest and postgres on Docker Hub. What's Changed • feat(plugins): searchable catalog, README before installing, warning for local packages by @AbianS in https://github.com/rustrak/rustrak/pull/616 • feat(plugin): interactive new, traced build output and an animated intro by @AbianS in https://github.com/rustrak/rustrak/pull/617 • perf(plugins): give compile memory back and share one call pool by @AbianS in https://github.com/rustrak/rustrak/pull/618 • docs: plugins section, demos and announcement post by @AbianS in https://github.com/rustrak/rustrak/pull/619 • chore: version packages by @AbianS in https://github.com/rustrak/rustrak/pull/620 Full Changelog: https://github.com/rustrak/rustrak/compare/v0.34.0...v0.34.1
Upgrading • RUSTRAK_BOOTSTRAP_TOKEN is now the token itself: 40 lowercase hex characters, for example from openssl rand -hex 20. It is never printed. The old RUSTRAK_BOOTSTRAP_TOKEN=1 form creates nothing and logs how to set it (#356 (https://github.com/rustrak/rustrak/issues/356)) • Email integrations with their own SMTP host no longer borrow SMTP_USERNAME and SMTP_PASSWORD, and that host must resolve to a public address unless RUSTRAK_ALERTS_ALLOW_PRIVATE_NETWORKS is set. Give such an integration its own login, or it stops sending • Reactivated alert rules are deleted. Rustrak never takes an issue out of the archive on its own, so they could never fire. Their history is kept, and the API answers 400 to alert_type: "unmute" • SSO on an instance with no accounts only creates the first one, as owner, for a member of OIDC_ADMIN_GROUPS. Otherwise create the owner with CREATE_SUPERUSER or the bootstrap file (#358 (https://github.com/rustrak/rustrak/issues/358)) • Accounts already linked to an SSO identity are marked unverified. Their logins keep working; SSO just no longer links another identity into them automatically • The Docker image sets INGEST_DIR=/data/ingest, so the ingest queue lives on the /data volume (#359 (https://github.com/rustrak/rustrak/issues/359)) • Migrations on PostgreSQL and SQLite add release_deploys, release_commits, session_errors, user_sidebar_projects and users.email_verified. On PostgreSQL, eleven CHAR hash columns become VARCHAR so their indexes are used (#329 (https://github.com/rustrak/rustrak/issues/329)) • @rustrak/client is regenerated with the organization releases, sidebar and project sort and query Security Every finding of a security audit of the server is fixed, each with a regression test seen failing before the change. • Login: ten attempts a minute per email, then 429 with Retry-After. An unknown email takes as long as a wrong password, and "Account is disabled" only appears with the right password, so login no longer reveals which accounts exist (#47 (https://github.com/rustrak/rustrak/issues/47)) • SSO: a fresh instance can no longer be taken by the first person to sign in, and SSO only links an identity automatically into an account whose email is verified • Cross-site requests: requests authenticated by the session cookie are refused when they come from another site. Bearer tokens are unaffected • Alerts: an alert rule can only point an integration at a URL other than its own with integrations:update, and an integration's SMTP host is checked like any other alert destination • Ingest and uploads: stack traces are cut to Relay's 50 oldest and 200 newest frames, artifact bundles are bounded per entry, in total and in entry count, and shedding and the project quota run before an envelope body is read • Secrets: the bootstrap token, the superuser password and the SMTP password never reach a log line Projects • /projects has a search bar and sorts by recent activity, creation date or name. Projects with no issues come last. Save "Recent activity" as your default view to always open it that way (#597 (https://github.com/rustrak/rustrak/issues/597)) • The sidebar no longer stops at five projects. The options button next to Projects sorts them by manual order, name or activity, hides the ones you don't want and lets you drag them into your own order. It is saved per user, and a new project appears at the end (#598 (https://github.com/rustrak/rustrak/issues/598)) Releases from sentry-cli sentry-cli releases new, finalize, set-commits, deploys new and list, list, info --show-commits and delete used to fail, and the bundler plugins logged errors on every build. Rustrak now serves Sentry's organization-level releases API (#91 (https://github.com/rustrak/rustrak/issues/91)). • A release spans the projects that have it. The organization slug is accepted and ignored • Deploys are listed as the latest per project and environment • set-commits reads commits from the local git checkout, and the list sent replaces the release's commits • delete refuses a release that is an issue's first release or has health data, as Sentry does, and needs the new releases:delete permission See Releases (/usage/releases). Ingest Each gap was checked against Relay (#385 (https://github.com/rustrak/rustrak/issues/385)). • Every item type has Relay's size limit instead of 1 MiB, so a large log or span batch no longer drops the error travelling with it • One bad entry in a log or span batch is skipped on its own instead of failing the whole batch • Python log levels map to debug through fatal, and a timestamp with no offset reads as UTC instead of the ingest time • Sessions: device clock drift is corrected, sessions outside Relay's window are dropped, and a session with errors counts as errored once, crashed and abnormal included. The browser SDK's handled errors no longer show as healthy sessions Fixes • The issue culprit is computed as Sentry does: the SDK's culprit, else the transaction, else the in-app frame in each platform's format (#456 (https://github.com/rustrak/rustrak/issues/456), @HEOJUNFO (https://github.com/HEOJUNFO)) • An email alert still reaches the other recipients when the SMTP server refuses one (@HEOJUNFO (https://github.com/HEOJUNFO)) • Returning to a page with saved views through a link applies its default view again Artifacts rustrak/rustrak-server:v0.33.0 rustrak/rustrak-server:v0.33.0-postgres rustrak/rustrak-ui:v0.33.0 @rustrak/client@0.33.0 on npm. Also tagged latest and postgres on Docker Hub. What's Changed • fix(server): rate limit password login and stop it revealing which accounts exist by @AbianS in https://github.com/rustrak/rustrak/pull/585 • fix(server): close the ingestion gaps with Relay from #385 by @AbianS in https://github.com/rustrak/rustrak/pull/586 • fix(server): never hand an empty instance to the first SSO login by @AbianS in https://github.com/rustrak/rustrak/pull/587 • fix(server): take RUSTRAK_BOOTSTRAP_TOKEN's value and never print it by @AbianS in https://github.com/rustrak/rustrak/pull/589 • fix(docker): keep the ingest queue on the /data volume by @AbianS in https://github.com/rustrak/rustrak/pull/588 • fix(server): let PostgreSQL search the hash columns' indexes by @AbianS in https://github.com/rustrak/rustrak/pull/590 • fix: stop offering the Reactivated alert, which could never fire by @AbianS in https://github.com/rustrak/rustrak/pull/591 • feat(server): serve sentry-cli's organization-level releases API by @AbianS in https://github.com/rustrak/rustrak/pull/592 • fix(alerts): keep emailing the other recipients when one is refused by @HEOJUNFO in https://github.com/rustrak/rustrak/pull/594 • fix(server): compute the issue culprit the way Sentry does by @HEOJUNFO in https://github.com/rustrak/rustrak/pull/595 • fix(server): close the security audit findings by @AbianS in https://github.com/rustrak/rustrak/pull/599 • feat(docs): move the website from Next/Nextra to Astro by @AbianS in https://github.com/rustrak/rustrak/pull/600 • feat(projects): sort, search and saved views on the projects list by @AbianS in https://github.com/rustrak/rustrak/pull/601 • feat(sidebar): choose which projects the sidebar shows and in what order by @AbianS in https://github.com/rustrak/rustrak/pull/603 • chore: version packages by @AbianS in https://github.com/rustrak/rustrak/pull/604 Full Changelog: https://github.com/rustrak/rustrak/compare/v0.32.0...v0.33.0
Upgrading • A migration adds a web_vitals table on PostgreSQL and SQLite. Vitals are recorded from this version on, so page loads ingested before the upgrade have none • @rustrak/client is regenerated with client.webVitals Web Vitals Rustrak now keeps the LCP, INP, CLS, FCP and TTFB the browser SDK reports, whether they arrive on the page load transaction, as standalone spans or as streamed spans. Each one is scored with Relay's performance score and Sentry's per-browser profiles, and stored with what it was about: the LCP element and the resource it loaded, the element that shifted, the interaction's target, the page URL, the device and the network. • A Web Vitals page appears for browser projects, laid out like PageSpeed Insights field data: the Core Web Vitals verdict, where to start, a card per vital and the pages ranked by what improving them would add to the score • Each vital has its own page with how to fix it, the elements behind it, how it does per device and browser, its trend and its worst page loads, linked to their transactions • Values are rated good, needs improvement or poor by web.dev's thresholds, and filtered by environment, device, browser and period, up to 90 days • Vitals age out with the project's transactions API Six endpoints under /api/projects/{project_id}/web-vitals: the summary, pages, breakdown, targets, samples and timeseries. See the client reference (/sdks/client). Artifacts rustrak/rustrak-server:v0.32.0 rustrak/rustrak-server:v0.32.0-postgres rustrak/rustrak-ui:v0.32.0 @rustrak/client@0.32.0 on npm. Also tagged latest and postgres on Docker Hub. What's Changed • feat: web vitals, scored and explained per page by @AbianS in https://github.com/rustrak/rustrak/pull/583 • chore: version packages by @AbianS in https://github.com/rustrak/rustrak/pull/584 Full Changelog: https://github.com/rustrak/rustrak/compare/v0.31.0...v0.32.0
Fixes • A transaction made from a streamed segment root took its id from a bare SHA-256 prefix, whose version and variant bits are random, so the dashboard rejected most of them. The id is now a version 8 UUID derived the same way, so a root delivered again still matches its transaction (#572 (https://github.com/rustrak/rustrak/issues/572), @janatjak (https://github.com/janatjak)) • A migration rewrites the ids 0.30.0 stored for those transactions, on PostgreSQL and SQLite. It touches only those rows Artifacts rustrak/rustrak-server:v0.30.1 rustrak/rustrak-server:v0.30.1-postgres rustrak/rustrak-ui:v0.30.1 @rustrak/client@0.30.1 on npm. Also tagged latest and postgres on Docker Hub. What's Changed • fix(server): give a transaction made from a segment root an RFC 9562 id by @janatjak in https://github.com/rustrak/rustrak/pull/573 • chore: version packages by @AbianS in https://github.com/rustrak/rustrak/pull/574 Full Changelog: https://github.com/rustrak/rustrak/compare/v0.30.0...v0.30.1
Everything in this release comes from the measurements @janatjak (https://github.com/janatjak) shared in #532 (https://github.com/rustrak/rustrak/issues/532) and the issues that followed it. Upgrading • The migration builds two indexes before the server listens, and events sent meanwhile are not accepted. It took 154 s on PostgreSQL with 42.4M spans and 5.3M transactions (2 vCPU, 3,000 IOPS) and 4 s on SQLite with 2M spans. Plan a few minutes of downtime on a large instance. The indexes add about 9% to the database. • API: GET /api/projects/{id}/transactions and GET /api/projects/{id}/spans read 90 days at most (period, 90 days when absent). Older transactions are no longer listed; one transaction is still served by its id. A span list filtered by trace_id alone still returns the whole trace. • API: those two lists count matches up to 1000. Past that, total_count is 1000 and the new total_capped is true. A script that counts to total_pages stops at 1000 rows; read on until a page comes back short. See Totals stop at 1000 (/usage/performance#totals-stop-at-1000). • Performance offers Last 90 days instead of All time. Links and saved views with period=all open on 90 days. • Spans and transactions sent without an op are stored as default, as on sentry.io. Rows stored before keep no op, so an endpoint whose transactions had none shows as two groups in Performance until retention removes the old rows. • Existing span rows are not rewritten: only spans written after the upgrade are smaller. Smaller spans After v0.29.0 a span's compressed payload was small, and most of its row was plain columns. The largest was description, which on a database span holds the SQL text and has only a few hundred distinct values per app. Measured with PHP/Doctrine-shaped traffic (30,000 transactions, 240,000 spans, 210 distinct queries): | v0.29.0 | v0.30.0 | One database span, PostgreSQL | 821 B | 367 B | −55% spans table, PostgreSQL | 196.1 MB | 112.8 MB | −42% spans table, SQLite | 189.0 MB | 94.1 MB | −50% SQLite database file | 259.2 MB | 164.2 MB | −37% • A description is stored once per project and spans refer to it. Short ones (under 64 bytes) and ones seen only once stay in the span's row, so URLs with ids or SQL with inlined values never fill the table • Parent and segment span ids are stored as 8-byte numbers instead of hex text • A transaction's spans no longer repeat its platform, release and environment • Retention removes stored descriptions no span uses any more • The API returns exactly what it did. Ingest and reads are as fast as before Fast on large tables Measured on PostgreSQL with 42.4M spans and 5.3M transactions (20 GB, 2 vCPU, 4 GB of RAM), cold cache: Request | v0.29.0 | v0.30.0 Span list | 97 s | 20 ms Transaction list (14d) | 15.2 s | 26 ms An endpoint's slowest samples | 12.6 s | 26 ms An endpoint's trend | 8.2 s | 84 ms Endpoint list (24h) | 16.2 s | 1.8 s On SQLite with 2M spans, the span list went from 1,383 ms to 3 ms and the endpoint list from 1,213 ms to 165 ms. • A new index orders the span list, and one covering index answers the endpoint list, an endpoint's figures, trend and slowest samples without reading the table. It replaces two older ones • List totals stop at 1000 instead of counting every match, as Sentry does • Transaction and span lists read 90 days at most, as Sentry does, and the span list takes period • PostgreSQL vacuums events, transactions, spans and logs after 1% new rows, so index-only reads stay index-only on the newest rows Deleting a project no longer blocks Deleting a project ran one DELETE that cascaded through all its rows, and a second click failed with 503. Now the project disappears at once: it leaves the list and the Storage page, its DSN stops accepting events and its name is free for a new project. Its rows are removed in the background, in batches, and an interrupted run resumes. Deleting a project with 6M spans and 750k transactions on PostgreSQL: | v0.29.0 | v0.30.0 The delete answers in | 144 s | 19 ms A second delete | 503 after 2 s | 404 in 8 ms Slowest ingest to another project meanwhile | 1.5 s | 0.1 s Streamed spans in Performance The JavaScript SDKs from version 11 send no transactions by default (traceLifecycle: 'stream'), so Performance was empty for them (#552 (https://github.com/rustrak/rustrak/issues/552), @janatjak (https://github.com/janatjak)). Each segment's root span is now shown as a transaction and the rest of the segment as its waterfall. A Next.js 16 app with @sentry/nextjs 11 shows the same transactions and spans in both modes, with no SDK option. • A span that ends after its root, like a page's LCP, joins the transaction when it arrives • Status is ok or error; the specific one is in the root's sentry.status.message attribute, as in Sentry • Platform is the SDK's language (javascript for sentry.javascript.nextjs), since a streamed span carries none See SDKs that stream spans (/usage/performance#sdks-that-stream-spans). Improvements • A span item without an op gets the one Relay infers from its attributes (http.client, db, gen_ai.*…). A span with only gen_ai.operation.name: invoke_agent is now gen_ai.invoke_agent • Clicking anywhere in a table's selection cell toggles the row instead of opening it • Dependencies updated to their latest versions Artifacts rustrak/rustrak-server:v0.30.0 rustrak/rustrak-server:v0.30.0-postgres rustrak/rustrak-ui:v0.30.0 @rustrak/client@0.30.0 on npm. Also tagged latest and postgres on Docker Hub. What's Changed • fix(server): give a span without an op the one Relay gives it by @AbianS in https://github.com/rustrak/rustrak/pull/562 • fix(ui): make the whole selection cell toggle the row instead of opening it by @AbianS in https://github.com/rustrak/rustrak/pull/564 • perf(docs): stop docs and blog pages shipping the landing's JavaScript by @AbianS in https://github.com/rustrak/rustrak/pull/565 • perf(server): keep the span and performance reads fast on large tables by @AbianS in https://github.com/rustrak/rustrak/pull/566 • fix(server): delete a project in the background by @AbianS in https://github.com/rustrak/rustrak/pull/567 • perf(server): store a span's description once and stop repeating what its transaction holds by @AbianS in https://github.com/rustrak/rustrak/pull/568 • feat(server): show the spans an SDK streams as transactions in Performance by @AbianS in https://github.com/rustrak/rustrak/pull/570 • chore: version packages by @AbianS in https://github.com/rustrak/rustrak/pull/571 Full Changelog: https://github.com/rustrak/rustrak/compare/v0.29.0...v0.30.0
Upgrading • Back up before upgrading. There is no downgrade: v0.28.0 does not start against a migrated database, and the down migrations refuse to run once a compressed payload exists. Going back means restoring the backup. • Migrations are near-instant: schema changes plus three small index builds (0.7 s on a 4 GB SQLite database). They run before the server listens. • Existing rows are not rewritten. They stay readable as before, but only rows written after the upgrade are smaller. Disk usage drops as retention removes the old ones. • PostgreSQL: once your retention period has passed, run Settings → Storage → Compact tables once to return the space to the disk. Do it at a quiet time: each table is locked while it is rewritten and needs free disk about the size of the largest table. See Reclaiming disk space (/configuration/database#reclaiming-disk-space-on-postgresql), including pg_repack if you cannot lock. • Span start_timestamp, timestamp and duration_ms are now rounded to the nearest microsecond instead of truncated, so they can differ by up to 1 µs. Smaller storage Measured on the same dataset (50k error events, 100k transactions, 1.14M spans): | v0.28.0 | v0.29.0 SQLite | 4,022 MB | 983 MB PostgreSQL (after VACUUM FULL) | 2,299 MB | 843 MB SQLite WAL peak during an ingest burst | 8.0 GB | 0.3 GB • Event, transaction and span payloads are stored zstd-compressed, with a dictionary each instance trains from its own rows • Spans are stored once: transactions no longer embed their spans array. API and MCP output is unchanged • Three span and transaction indexes nothing read are dropped, and the gen_ai span indexes only hold AI spans • Retention now deletes standalone spans past the transactions window; they were never deleted before • The SQLite WAL is truncated once it passes ~40 MB instead of growing for a whole ingest burst • PostgreSQL autovacuum runs at 1% dead rows on events, transactions, spans and logs instead of 20% Compact tables on PostgreSQL PostgreSQL never returns the space of deleted rows to the operating system. Compact tables on the Storage page, which did nothing on PostgreSQL, now rewrites events, transactions, spans and logs with VACUUM FULL, one at a time. • Manual only, never scheduled. A failed run leaves the table as it was • While a table is rewritten, error events keep being accepted. Transactions, spans and logs bound for it get 429 with X-Sentry-Rate-Limits and are dropped by the SDK • The storage response lists per-table sizes on PostgreSQL Project roles from OIDC groups OIDC_GROUP_ROLES gives roles from provider groups, on one project or on all of them (@rane-keba (https://github.com/rane-keba)): OIDC_GROUP_ROLES="shop-team=Viewer@storefront;platform=Developer" Every SSO login syncs the account's assignments of the roles the mapping names. Roles it does not name, and password accounts, are never touched. See SSO (/configuration/sso#project-roles-from-provider-groups). Improvements • Deleting an issue returns to the issue list • lettre 0.11.24 fixes the RUSTSEC-2026-0560..0565 SMTP advisories • Transaction ingest is 15–40% faster, and the span list and trace view 4–5× faster on SQLite Artifacts rustrak/rustrak-server:v0.29.0 rustrak/rustrak-server:v0.29.0-postgres rustrak/rustrak-ui:v0.29.0 @rustrak/client@0.29.0 on npm. Also tagged latest and postgres on Docker Hub. What's Changed • test: dashboard e2e suite with Playwright by @AbianS in https://github.com/rustrak/rustrak/pull/548 • feat(sso): map OIDC groups to roles per project (OIDC_GROUP_ROLES) by @rane-keba in https://github.com/rustrak/rustrak/pull/551 • fix(server): reduce disk usage of events, transactions and spans by @AbianS in https://github.com/rustrak/rustrak/pull/554 • chore: version packages by @AbianS in https://github.com/rustrak/rustrak/pull/555 New Contributors • @rane-keba made their first contribution in https://github.com/rustrak/rustrak/pull/551 Full Changelog: https://github.com/rustrak/rustrak/compare/v0.28.0...v0.29.0