# rustrak: Self-Hosted Sentry-Compatible Error Tracking

This repository profile is provided by osrepos.com, an open source repository discovery platform.

Source: osrepos.com
Repository profile: https://osrepos.com/repo/rustrak-rustrak
Generated for open source discovery and AI-assisted research.

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.

GitHub: https://github.com/rustrak/rustrak
OSRepos URL: https://osrepos.com/repo/rustrak-rustrak

## Summary

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.

## Topics

- rust
- self-hosted
- monitoring
- observability
- error-tracking
- sentry-alternative
- application-performance-monitoring

## Repository Information

Last analyzed by OSRepos: Tue Nov 24 2026 15:57:31 GMT+0000 (Western European Standard Time)
Detail views: 0
GitHub clicks: 0

## Safety Notice

OSRepos shares public repositories for knowledge and discovery only. Review source code, dependencies, licenses, and security implications before running or installing anything.

## Content

## 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.

## Our Take

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.

## Project Health

| Signal | Value |
|---|---|
| Status | **Active**: regular commits and releases |
| Last commit | 2026-11-24 (today) |
| Commits, last 90 days | 100+ |
| Releases, last 12 months | 100+ (latest v0.32.0, 2026-11-23) |
| Contributors | 23 (top contributor: 84% of commits) |
| Issues closed, last 90 days | 17+ (typically closed in 1 day) |
| Pull requests merged, last 90 days | 87 (typically merged in 0 days) |
| Project age | 10 months |

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

## Project Facts

- Language: Rust
- License: AGPL-3.0
- Stars: 1.8k
- Forks: 84
- Topics: apm, application-monitoring, crash-reporting, docker, error-monitoring, error-reporting, error-tracking, logging
- Website: https://rustrak.dev
- Archived: no

## 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

## Getting Started

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

```bash
export SESSION_SECRET_KEY=$(openssl rand -hex 32)
export CREATE_SUPERUSER=admin [at] example.com:changeme123
docker compose up -d
```

Open `http://localhost:8080`, create a project, and point a Sentry SDK at its DSN. See the [README](https://github.com/rustrak/rustrak) and [installation guide](https://rustrak.dev/getting-started/installation) for PostgreSQL and production setup details.

## License in Plain Words

**AGPL-3.0** (network 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.

## Alternatives

- [traceway](https://osrepos.com/repo/tracewayapp-traceway): Traceway is an OpenTelemetry-based observability platform with session replay, while Rustrak centers on Sentry-compatible ingestion and error tracking.

| Project | Language | License | Stars | Status |
|---|---|---|---|---|
| **rustrak** | Rust | AGPL-3.0 | 1.8k | Active |
| [traceway](https://osrepos.com/repo/tracewayapp-traceway) | Go | MIT | 1.8k | Active |

## 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.