rustrak

rustrak: Self-Hosted Sentry-Compatible Error Tracking

Rustrak is a self-hosted error and performance tracker built in Rust around the Sentry protocol, so existing Sentry SDKs can send events by changing their DSN. It combines errors, logs, performance, release health and AI-agent traces in one service.

Stars
1.8k
Forks
84
Last commit
today
Contributors
23
Releases, 12 months
100+

Our take

Activeregular commits and releases

Health score

73/100

How it is scored
Activity
90
Community
43
Issues
77
Pull requests
82
  • Releases more often than 93% of the projects we track
  • Merges more pull requests than 91% of the projects we track

Rustrak is an actively maintained, broad Sentry-compatible self-hosting option, though its development is heavily concentrated in one contributor.

Good fit if

  • You already use Sentry SDKs and want to self-host the event destination with SQLite or PostgreSQL.
  • You want errors, performance, logs and supported AI-agent traces in one service.
  • You can accept an AGPL-3.0 project whose recent development is active but relies mostly on one person.

Look elsewhere if

  • You need a hosted service rather than an instance you operate.
  • Your application cannot send data using the Sentry protocol or the supported span formats.
  • Your deployment cannot meet the documented Node.js requirement or run the Compose-based setup described by the project.
All health signals
Last commit2026-11-24 (today)
Commits, last 90 days100+
Releases, last 12 months100+ (latest v0.32.0, 2026-11-23)
Contributors23 (top contributor: 84% of commits)
Issues closed, last 90 days17+ (typically closed in 1 day)
Pull requests merged, last 90 days87 (typically merged in 0 days)
Project age10 months

Checked on 2026-11-24 with the GitHub API.

Overview

Rustrak is a self-hosted observability service built in Rust around the Sentry protocol. It accepts events from existing Sentry SDKs, so teams can direct their apps to Rustrak by changing the DSN rather than replacing their instrumentation. The default SQLite setup runs as a single process with a built-in dashboard; PostgreSQL is also supported.

It brings error tracking together with performance data, structured logs, release health and AI-agent traces. The project is aimed at teams that want Sentry-compatible monitoring on infrastructure they control, without a separate database or broker for a basic installation.

Key Features

  • Ingests Sentry-compatible envelopes for errors, transactions, sessions, logs and AI spans.
  • Groups errors into issues using SDK fingerprints or a deterministic fallback, with issue triage and source-map support.
  • Shows performance transactions and span waterfalls, with p95 ranking and measurements.
  • Tracks release health through crash-free sessions and users.
  • Displays AI-agent traces, including LLM calls, tool calls and handoffs, when SDK integrations send the supported spans.
  • Provides alert destinations for Slack, SMTP email and JSON webhooks.
  • Offers project roles, retention controls, storage reporting and an MCP endpoint for AI assistants.

Use Cases

  • A small team can replace or supplement a hosted Sentry destination while keeping its existing Sentry SDK instrumentation.
  • A self-hosting operator can collect application errors and logs on a single SQLite-backed instance without provisioning a separate database.
  • Developers investigating a slow request can inspect its transaction and span waterfall alongside related logs.
  • Teams using Sentry SDK AI integrations can inspect agent runs, model calls and tool handoffs alongside application telemetry.
  • Release owners can compare crash-free sessions and users to spot regressions after a deployment.

What you need

Detected in the repository

  • Node.js >=22.18 (from package.json)
  • A Compose file to run it with its related services
  • Automated checks on GitHub Actions

License in plain words

AGPL-3.0network copyleft

  • Commercial use: yes
  • Modify and redistribute: yes
  • You must keep: the license notice
  • Share your changes: yes, the full source, also when people only use it over a network (e.g. as a hosted service)
  • Includes an explicit patent grant from the contributors:

A summary, not legal advice: the LICENSE file is what applies.

Getting Started

For the Docker Compose quickstart, set the session secret and initial admin credentials, then start the service:

export SESSION_SECRET_KEY=$(openssl rand -hex 32)
export CREATE_SUPERUSER=[email hidden]:changeme123
docker compose up -d

Open http://localhost:8080, create a project, and point a Sentry SDK at its DSN. See the README and installation guide for PostgreSQL and production setup details.

Alternatives

  • traceway: Traceway is an OpenTelemetry-based observability platform with session replay, while Rustrak centers on Sentry-compatible ingestion and error tracking.
ProjectLanguageLicenseStarsStatus
rustrakRustAGPL-3.01.8kActive
tracewayGoMIT1.8kActive

Considerations

  • The project is young, and its contributor activity is concentrated: most code comes from one person, even though the repository has a broader contributor group. Recent commits and releases are regular, and reported issue handling is quick, but concentrated ownership remains a continuity risk.
  • The quickstart uses Docker Compose. The project also lists Node.js 22.18 or later as a requirement; check the installation documentation for the requirements of your chosen deployment or development workflow.
  • Self-hosting means you are responsible for storage, retention, backups and instance operations. SQLite is the default, while PostgreSQL is available for deployments that need it.
  • The repository is licensed under AGPL-3.0. Teams should review its obligations for their intended use.

Found this useful?

Share it with someone who would like rustrak.