A Stack Trace Is a Business Record
Mira's team shipped a checkout fix on a Thursday and heard about the damage on Friday morning, from a customer who had refreshed the payment page four times before giving up. The rented tracker had captured every one of those exceptions overnight; they sat in a queue nobody on the team owned.
That is the quiet failure of renting an error tracker: the data arrives, the grouping works, the charts render, and custody still belongs to somebody else. A stack trace is not telemetry trivia. It carries file paths, SQL fragments, request URLs and sometimes the identifier of the row that failed.
Sentry collects those events through an SDK, groups them into issues by stack trace and culprit, and binds each event to the release that produced it. An issue alert can push a new group into a chat channel within seconds. A monitor can tell you a scheduled job went quiet.
Renting a tracker is renting a photograph of your failures. Hosting one keeps the negatives.
Self-hosted Sentry is the whole product, running as Docker Compose on a machine you control. The official installer is a bash script: clone the newest release tag of the self-hosted repository, run ./install.sh, then docker compose up --wait and the stack comes up service by service.
The hardware floor is honest and public: four CPU cores, sixteen gigabytes of RAM with an equal amount of swap, and twenty gigabytes of free disk at install time. The documentation recommends thirty-two gigabytes of RAM once real traffic arrives, because the box runs databases, brokers and workers on one machine.
Nothing about that floor is decorative. ClickHouse wants a modern x86-64 chip, Kafka keeps its state on disk, and the docs read high disk wait as a warning long before capacity runs out. Sizing the server is the first real decision of a rollout, and it is a decision you get to make.
- Clone the newest release tag and run the installer; let it finish its requirement checks before touching anything else.
- Bring the stack up with
docker compose up --waitand watch services settle until the web tier answers. - Put TLS in front, set the public url-prefix, and correct the SSL settings before any integration is configured.
- Create the first project, copy the DSN into staging, and confirm one event lands with a real stack trace.
- Write exactly one issue alert and one monitor before anyone opens a second dashboard.
- Run the backup script and perform a restore on a spare machine while the setup is still fresh.
Teams that skip the sixth step discover later that an export they have never restored is a rumor, not a backup. Teams that skip the fourth step spend a week wondering why grouping looks wrong in production while staging behaves perfectly.
Two switches deserve attention before the first event arrives. The installer asks once whether to send installation logs and runtime errors back to Sentry's own team, and REPORT_SELF_HOSTED_ISSUES=0 answers that question in automation. The separate admin beacon is disabled with SENTRY_BEACON = False in sentry.conf.py.
With the stack answering on a health endpoint, the SDK pointed at your domain and the alert rules written, the rollout question stops being "which plan should we buy" and becomes "who gets paged, and when." That is a much better question for a small team to be asking.
Who Else Is Reading Your Crash Reports
Every exception your product throws is a small confession: which files changed, which query ran, which parameter was malformed. Handing those confessions to a third party is a legitimate choice. Handing them over without knowing the terms is not.
Sentry's own documentation is unusually frank about the line between its hosted service and a self-hosted install. Spike protection and spend allocation are listed as features coupled to billing quotas, which means on the rented side, shielding yourself from a traffic burst and shielding yourself from a surprise invoice are the same switch.
Data storage location appears in that same differences list with a one-line justification: because you own your data. On your own server, the region is the region of your machine, and the residency answer to a customer questionnaire is a hostname you control.
The moment your error log becomes evidence — for a refund dispute, an access request, a post-incident review — you want "where is it stored" to have a location you can point at.
There is a second category of difference that has nothing to do with money. Sentry's Seer features, the machine-learning layer that summarizes issues, are closed source and absent from the self-hosted build, and console and stack-trace resolution for a couple of gaming platforms depends on partner components that cannot ship. Everything else, the docs say, is available.
The honest ledger runs both ways. A self-hosted install has no billing system behind it, which also means no vendor-side quota dashboard, no hosted support desk, and no automatic phone-a-friend when a cluster misbehaves. The docs say it plainly: support for self-hosted ends at "our engineers will do their best" and the community Discord.
In exchange you get the product without artificial ceilings. Sentry frames the comparison as running the business tier without software limitations and without a paid tier — a sentence worth reading twice before you price out a rented equivalent.
There is also the license clock, which section six returns to in detail. Today the code is under a Functional Source License: deploy it anywhere, modify it, keep the source, but do not sell it as a hosted service. Two years after each release, the same code becomes plain Apache 2.0.
Four Days That Stop Waiting on a Support Inbox
Workflows are where an error tracker earns its server. The four below are ordinary: a new issue, a bad deploy, a bug nobody can reproduce, and a scheduled job that quietly stopped running. Each one changes shape the moment the tracker lives on hardware you can point to.
The alert that lands before the customer does
An issue alert watches for new groups matching a filter, then acts: notify a channel, open a ticket, call a webhook, escalate. Sentry's alert documentation lists the same three shapes everywhere — a Slack message when a new issue appears, a tracker ticket when severity matches, a webhook when something reopens.
Exceptions accumulate overnight. Someone opens the dashboard after breakfast and reads them in the order the vendor chose, with no idea which ones a customer already felt.
The first event of a new group triggers a throttled message in the on-call channel, carrying the culprit, the release and a link to the trace — minutes after it happens, from a host on your own network.
Because the events never leave your network, the alert payload can carry richer context than a vendor policy might allow: full request bodies where you need them, internal hostnames, the identifier of the tenant that hit the error. You set the redaction rules in your own Relay configuration rather than reading someone else's.
Releases that name their own damage
A release is a version of your code deployed to an environment, and telling Sentry about it before the deploy is the whole trick. The releases page then shows adoption over the past day, the authors of each commit, and the percentage of crash-free users and sessions for every version.
A regression appears on Tuesday. Three deploys shipped since Friday, and the conversation about which one broke checkout runs longer than the fix itself.
New events from a newer release mark the issue as a regression and drop it into the review tab. Resolving it in a commit or pull request ties the fix to the code, and the next deploy proves it.
None of this requires a repository integration, though wiring one up automates the association. Without it, Sentry still creates a release the first time an event carries a new release identifier, so the minimum viable rollout is an SDK option and a deploy script that stamps the version.
Reproduction without the interrogation
"Cannot reproduce" is the most expensive phrase in a bug tracker. Session Replay answers it with a video-like timeline of what the user actually did: network requests, DOM events and console messages in the seconds before, during and after the error.
A support thread of six messages: browser, screen width, what they clicked, whether they were on wifi. Two of the answers arrive after the customer has left for the weekend.
Open the issue, scrub the replay, read the console and the network waterfall on the same timeline. The engineer sees the malformed form field without asking anyone a single question.
Replay runs on your server like everything else, which changes the conversation with a privacy reviewer. Sample rates, what gets masked and how long recordings live are settings in your deployment, and the retention clock is the one you configured yourself.
The scheduled job that never checked in
Cron monitors track scheduled jobs for failures, late runs and missed starts. Configure a monitor per environment, give it a crontab or an interval down to the minute, and let check-ins decide whether the nightly invoice run actually happened.
The export job fails at two in the morning. Nothing crashes loudly, so nothing alerts; the missing file is discovered by the customer who was supposed to receive it.
No check-in inside the window raises an alert with the job's own history attached, and the related error issue sits one click away because the failed run also threw.
The repository integration automates the association between commits and releases, and it turns a resolved issue into a pull request reference instead of a comment. Ticket creation works in the other direction: an issue that matches severity filters opens a ticket in your tracker, so the bug lands where the team already works.
Uptime monitoring for endpoints sits in the same family: watch a URL, alert on failure, and keep the result next to the errors it produced. On a self-hosted install these monitors run in your stack, so the watcher is not also a party that knows your infrastructure map.
The Curves Behind a Calm Release Week
Dashboards lie by omission: they show what the vendor decided to chart. Owning the stack means the chart is answering your question instead. Three views below are the ones a small team actually reads during a release week.
The first is a coverage map, not a scorecard. Every bar on it is a capability present in the self-hosted build, drawn to the length of how much of the workflow it carries — from full stack-trace capture to the machine-learning summaries that stay on the vendor's side of the license line.
The second view is the shape of a healthy triage inbox. Most groups should die on the first pass: triaged, resolved in a commit, or ignored with a reason. What hurts is the tail — the same unresolved group aging quietly while new ones stack in front of it.
The third view is a strip of operational facts rather than vanity metrics. Each cell below is a knob or endpoint that exists in the product and on the instance panel, with the number that matters to whoever runs the box.
Read together, the three views answer the questions a release week actually asks: is anything new broken, is the old debt growing, and is the machine keeping up. Crash-free session percentages and release adoption fill the first slot; the aging tail fills the second; disk wait and restart counts fill the third.
A dashboard you rent shows you what it measured. A dashboard you host shows you what you asked.
None of these charts depend on data leaving the building, which is the quiet advantage of hosting the tracker. The numbers that drive a release decision can sit behind the same firewall as the code that caused the regression.
The team habit that makes the curves readable is small: resolve with a reason, ignore with an expiry, and never close a group without a commit reference. With that discipline, the aging tail on the second chart shrinks every week instead of hiding behind a green average, and the coverage map keeps matching the workflow the team actually runs.
From Bare Box to Control Panel
Running Sentry on a raw unmanaged server is doable and demanding in equal measure. The installer handles the compose file; everything after that — TLS termination, health checks, retention, restarts, upgrades — is engineering capital you spend every month.
The documentation is candid about the shape of a production install. Put a dedicated load balancer in front with TLS termination, forward the client IP, and point its health check at /_health/, which answers two hundred when Sentry is up and five hundred with a list of problems when it is not. Then set system.url-prefix in config.yml to match the public address, or integration settings will throw CSRF errors at the worst moment.
Underneath sits a single machine running Kafka, ClickHouse, PostgreSQL, Redis and the workers side by side. The docs note that larger loads want a beefier box and that scaling beyond that is your own project — they offer no guidance past the single-node setup, and they say so.
Upgrades arrive as release tags of the self-hosted repository. The same script that installed it runs the upgrade, which is pleasant until the window collides with the incident you are in the middle of. On a managed instance, power actions and their outcomes are recorded where you can read them afterwards.
The panel turns that workload into a set of decisions: stop, restart and open-app are one click, while configuration cards show the public IP, region, domain, repository and install date with a copy action and an SSH shortcut next to them. Notes live with the instance, so the reason for last month's rebuild stops living in someone's head.
Domain work is handled rather than documented. A default address arrives with auto-managed DNS: a record with a short time-to-live, checked continuously by the panel. Pointing your own domain means either one record at your registrar or moving nameservers, and the panel prints the exact values instead of asking you to guess.
The danger zone is where honesty shows. Rebuild wipes the server and reinstalls the app from scratch, delete removes the machine at the provider and stops it, and clone spins a second instance from the current one — the kind of action you want behind a labelled button, not a support ticket.
SSE security monitoring, tied to an admin panel you now own
A self-hosted Sentry exposes a login page to the internet. That login guards every stack trace your product has ever produced, which makes brute-force protection the first feature worth understanding.
The monitoring engine runs on the instance itself and asks nothing of you. Failed logins and attack bursts are caught the moment they hit the authentication log, and every security event streams to an authenticated server-sent events feed you can watch live.
Alerts land where you choose: Telegram or email, within seconds of a real event, throttled so an active attack cannot flood the channel. It is the same alert discipline the error tracker applies to your code, pointed at the box that hosts it.
A rollout playbook that survives contact with a real week
Instrument staging first. Copy the DSN into the staging environment, ship one deliberate exception, and confirm the group, the culprit and the release all render correctly before production traffic is allowed near the new endpoint.
Stamp the release in the deploy script rather than by hand. When the version string travels with every build, crash-free session percentages stop being a matter of memory, and regressions attach themselves to the deploy that caused them.
Write redaction rules before the first real payload arrives. Cookies, authorization headers and personal identifiers are stripped in Relay according to configuration you control, which keeps sensitive fields out of the chat message, out of the replay and out of the retention window.
Keep the alert rules few and load-bearing: one for new groups in the checkout path, one for regressions on resolved issues, one monitor for the nightly export. Every additional rule trains the team to ignore the channel, and an ignored channel is the same as no tracker at all.
Decide retention on purpose. A shorter window shrinks disk pressure and narrows what a future access request can surface; a longer window keeps trend lines honest. The variable is one line, and changing it later is a restart rather than a migration.
Finally, write the runbook into the instance notes field: where the DSN lives, who owns the alert channel, how the restore drill is run. Notes sit next to the machine, so the person paged at two in the morning reads them on the same screen as the restart button.
The comparison below collects the operational parameters teams argue about, minus the ones that belong in a pricing spreadsheet. Nothing in it is a cost figure; every row is a workload, a risk or a habit.
| Operational parameter | Rented error tracker | Raw VPS (self-managed) | Managed instance |
|---|---|---|---|
| Time to first alert-capable install | Account, SDK keys, and the vendor's onboarding tour | Load balancer, TLS, url-prefix, health checks — an afternoon | About ninety seconds to a provisioned app |
| Internal IT / DevOps overhead | None, until an export or a retention limit appears | Broker upkeep, disk growth, certificate renewals — yours | Platform maintains the stack underneath you |
| Business continuity & auto-healing | Vendor SLA, internals opaque | Your restart scripts, your pager | Restart and rebuild controls, actions logged |
| Data protection & recovery | Vendor exports, vendor retention windows | Scoped JSON backups and volume dumps you schedule | Full data export on demand, instance-level restore paths |
| Security monitoring evidence | Vendor-side, summarized | Your fail2ban logs, if you installed it | Live SSE security stream, brute-force detection, throttled alerts |
| Residency & compliance answers | Vendor region, subprocessor list | The region of your machine | Region chosen at install, documented in configuration |
| Operational predictability | Quota behavior coupled to billing logic | Fixed habits until the disk fills | Recorded actions, visible plan and region, no hidden dials |
| Team accessibility & self-service | Seats and role settings on someone else's console | SSH for everyone who needs it, or nobody | Panel actions with an audit trail, SSH when needed |
| Maintenance & upgrade friction | Vendor schedule, announced or not | Release tags pulled during your worst week | Opt-in automatic updates, rebuild available on demand |
| Vendor independence & portability | Export, then negotiate | Compose file and dumps, entirely yours | Full data export any time, clone to a new instance |
| Day-two operations over a year | Renewals, quota reviews, feature deprecations | Patching, capacity, incident archaeology | Notes, activity history and danger-zone actions instead of tickets |
| Scaling path | Tier changes on the vendor's ladder | Bigger machine, then clusters, alone | Region and plan moves go through support, by design |
| Alert payload control | Vendor redaction policy | Whatever you configure in Relay | Your Relay rules, your network, your chat channels |
Read down the middle column and the pattern is consistent: a raw box converts money into time at every step. Read the right column and the pattern is different — the platform absorbs the mechanics and hands back controls, logs and export paths.
Your Data, Your Keys, Your Exit
Freedom sounds abstract until someone asks for the export. Three artifacts decide whether leaving is an afternoon or a negotiation: the license that covers the code, the dumps that cover the data, and the archive that covers the machine.
Start with the license, because it is the one thing most articles skip. Sentry is fair source under the Functional Source License: you may use it, modify it, deploy it anywhere including inside a company, and keep the source. What you may not do is sell a hosted version of it or compete with Sentry using the FSL-licensed code.
Two years after each release, the same code is granted under Apache 2.0, at which point the restriction disappears entirely. The SDKs are MIT-licensed from the start. It is not an OSI-approved license today, and pretending otherwise would be sloppy — it is also not a trap, because the clock runs in your favor.
A license you can read in five minutes and explain to a lawyer in five more is worth more than a badge on a README.
The data side has official tooling. A partial JSON backup through ./scripts/backup.sh captures users, organizations, projects, teams, alerts, incidents, monitors and global configuration — everything low-volume except the events themselves. Scope it to one area with ./sentry-admin.sh export users, organizations, config or global when you only need part of the estate.
Full state lives in six named volumes: sentry-data, sentry-postgres, sentry-redis, sentry-kafka, sentry-clickhouse and sentry-symbolicator. Backing those up and restoring them brings back every persisted record, and project-specific volumes prefixed for the install cover anything in flight.
Retention itself is a knob rather than a policy document: SENTRY_EVENT_RETENTION_DAYS sets how long events live, and the docs suggest pointing storage at S3 or Google Cloud Storage when disk becomes the constraint. Air-gapped installs are a supported path too, with SENTRY_AIR_GAP = True in the config and a proxy setup for restricted networks.
Notice what the diagram does not contain: a vendor API, a support queue, or a deadline. The exit is a script you have already run once in a test restore, which is the only way to know an export is real.
This is also where the managed instance and the raw box stop being opposites. On a managed deployment the panel gives you SSH, a clone action and an export path; on a raw box you build the same three things yourself and maintain them forever. Ownership is not the question — maintenance is.
A quarterly drill keeps the difference honest. Export on a Friday, restore on a spare machine over the weekend, and diff the projects, teams and alert rules against the live instance. The exercise surfaces forgotten volumes, expired tokens and stale integrations while they are still trivia, and it produces the one artifact every audit eventually asks for: proof that the exit works.
If you have not yet chosen where Sentry will run, the Sentry app page shows what a one-click install includes.
Questions Founders Ask Before They Self-Host
Eight questions cover most of the hesitation, and every answer below comes from Sentry's own documentation rather than a forum thread.
How large does the server actually need to be?
The documented minimum is four CPU cores, sixteen gigabytes of RAM with sixteen gigabytes of swap, and twenty gigabytes of free disk at install time. The documentation recommends thirty-two gigabytes of RAM once real traffic arrives, and it warns that the box runs databases and brokers on one machine, so disk speed matters as much as capacity.
ClickHouse wants SSE4.2 on x86-64 hardware, and high disk wait is treated as a sizing problem long before free space runs out. Size for the retention you configured, not for the demo.
Is the code genuinely open source?
Not in the OSI sense today. Sentry is fair source under the Functional Source License: you can use, modify and deploy it anywhere, but you cannot sell a hosted version of it or compete with Sentry on the FSL-licensed code. Two years after each release the license converts to Apache 2.0, and the SDKs are MIT from day one.
For a product team that never intends to resell an error tracker, the practical restriction is a clause you will read once and forget.
What is missing compared to the hosted service?
The differences list from the official docs is short and specific: no billing system, no spike protection or spend allocation (both tied to billing quotas on the hosted side), no Seer machine-learning features because they are closed source, and no vendor-chosen data storage location — you own that choice instead.
Stack-trace resolution for two gaming platforms depends on partner components that cannot ship, and mobile stack-trace resolution is more limited than on the hosted service. Everything else is available.
What does the installer send back to Sentry's team?
The installer asks you to opt in or out explicitly, and automation can answer in advance with REPORT_SELF_HOSTED_ISSUES=0. An opt-in sends installation logs, runtime errors and related diagnostics for debugging, retained for thirty days with no marketing attached.
The separate admin beacon reports an installation identifier, the version, general usage statistics and module names, and is disabled with SENTRY_BEACON = False in sentry.conf.py. Both switches exist because self-hosted users are expected to audit the thing they are running.
Where do alerts go, and can payloads stay inside?
Issue alerts act on triggers and filters: notify a channel, create a ticket, call a webhook, with throttling per group. Sentry lists Slack, PagerDuty and issue trackers among the standard destinations, and deploy notifications arrive by email once releases are wired up.
Because Relay reads project configuration locally, redaction and rate limits are your configuration. On the instance panel the outer loop runs too: brute-force detection on the authentication log, with throttled Telegram or email alerts for security events.
Can it run without an internet connection?
Yes. The docs describe air-gapped installs with SENTRY_AIR_GAP = True in sentry/sentry.conf.py, proxy-based installs for restricted networks, and even building the compose stack elsewhere, freezing the images and transferring them as a single archive.
Integrations like chat notifications need outbound access, so an air-gapped deployment pairs naturally with webhook-free alerting such as the instance's own security stream.
How do we move off our rented tracker?
Point the SDK at your own endpoint: every event after the switch lands on your disk, grouped the same way it was before. New issues, releases and monitors start filling your instance immediately, and the old account can stay read-only while the team compares notes.
Historical events follow whatever export path your current provider offers; the parts that matter operationally — configuration, projects, teams, alerts and monitors — can be rebuilt from the scoped export tools on your side in an afternoon.
Who fixes it when the stack itself breaks?
Sentry's position is that self-hosted comes with a minimal setup that works out of the box, no guarantees and no dedicated support desk; engineers do their best, and the community Discord carries the rest. Upgrades and backups are documented, and the reference architecture page exists for a reason.
On a managed instance, the platform maintains the stack underneath you and hands back power controls, an activity log you can read after the fact, and a rebuild button when the afternoon goes sideways.