Documentação
OpenErrorAPI fala o protocolo Sentry, então você mantém o SDK oficial que já usa e muda uma linha: o DSN. Esta página diz como, e — igualmente importante — o que não suportamos.
Migre do Sentry em 10 minutos
Não há SDK para substituir nem código para reescrever. Você aponta o SDK que já tem para um DSN diferente.
-
1
Crie um projeto no console. Você recebe um DSN no formato https://PUBLIC_KEY@openerrorapi.com/PROJECT_ID.
-
2
Substitua o DSN no seu Sentry.init() existente — geralmente uma variável de ambiente. Mantenha o SDK, a versão e todas as opções que você já configurou.
-
3
Faça o deploy e dispare um erro. Ele aparece no console em um segundo, agrupado como estava no Sentry.
PHP
composer require sentry/sentry\Sentry\init(['dsn' => 'https://PUBLIC_KEY@openerrorapi.com/PROJECT_ID']);JavaScript / TypeScript
npm i @sentry/browserSentry.init({ dsn: 'https://PUBLIC_KEY@openerrorapi.com/PROJECT_ID' });Node.js
npm i @sentry/nodeSentry.init({ dsn: 'https://PUBLIC_KEY@openerrorapi.com/PROJECT_ID' });Python
pip install sentry-sdksentry_sdk.init(dsn="https://PUBLIC_KEY@openerrorapi.com/PROJECT_ID")Go
go get github.com/getsentry/sentry-gosentry.Init(sentry.ClientOptions{Dsn: "https://PUBLIC_KEY@openerrorapi.com/PROJECT_ID"})Dart / Flutter
flutter pub add sentry_flutterawait SentryFlutter.init((o) => o.dsn = 'https://PUBLIC_KEY@openerrorapi.com/PROJECT_ID');Já está fazendo upload de source maps com sentry-cli? Mantenha esse passo também — configure SENTRY_URL como https://openerrorapi.com e use um token de upload como SENTRY_AUTH_TOKEN.
Compatibilidade com Sentry, honestamente
Compatibilidade é toda a promessa, o que a torna a coisa mais perigosa de exagerar. Esta tabela é gerada da mesma fonte que o código e nossa documentação legível por máquina usam, então ela não pode silenciosamente se afastar da realidade.
7 áreas totalmente suportadas · 3 parcial · 3 não suportadas.
| Área | Status | Detalhe |
|---|---|---|
Envelope ingest (/api/{id}/envelope/) |
Suportado | The modern endpoint every current SDK uses. Gzip/deflate bodies, multiple items per envelope, all three auth methods (X-Sentry-Auth header, querystring, envelope dsn header). |
Store ingest (/api/{id}/store/) |
Suportado | Legacy endpoint for older SDKs. Same processing pipeline as envelopes. |
| Error events & grouping | Suportado | Exceptions, messages, stack traces, tags, user, contexts, breadcrumbs, request. Grouping by fingerprint with an explicit `fingerprint[]` override. |
| Sessions / release health | Suportado | Session envelope items are processed; crash-free sessions and users are shown per release. Available from the Team plan. |
| Security reports (CSP) | Suportado | CSP violation reports are stored and grouped like any other issue. Point report-uri at /api/{project_id}/security/?sentry_key={PUBLIC_KEY} — the browser cannot send headers, so the key goes in the URL. Both the classic csp-report body and the Reporting API array are accepted. |
| Source maps | Suportado | Upload via our API, from the console, or with sentry-cli. Frames are de-minified on read, so uploading a map fixes old events too. |
sentry-cli |
Parcial | Releases (new / finalize / set-commits) and source-map upload work unchanged. Chunked upload is not implemented — sentry-cli detects that and falls back to the regular upload automatically. |
| User feedback widget | Suportado | Embeddable widget; reports land next to the errors they belong to. |
| Transactions / performance | Parcial | Transaction envelope items are accepted so SDKs do not error, but we do not build a performance product on top of them. If you need distributed tracing, keep Sentry — we are an error tracker. |
Logs (log envelope items) |
Não suportado | Not processed yet. Log items are ignored, which does not affect error reporting from the same SDK. |
Cron monitors (check_in items) |
Parcial | We have our own cron/heartbeat monitoring in the console, but the Sentry `check_in` envelope item is not wired to it yet. |
| Profiling, session replay | Não suportado | Deliberately out of scope. These are the reasons to stay on Sentry; we do not pretend otherwise. |
| Native symbolication (dSYM / ProGuard) | Não suportado | Not supported. Native mobile crashes arrive, but stay unsymbolicated. |
Indo além
API para agentes de IA & MCP
Referência completa para agentes autônomos: servidor MCP, chaves de sessão, escopos e o que um agente nunca pode fazer.
llms.txt
Resumo legível por máquina desta página para LLMs, seguindo a convenção llms.txt.
Console
Problemas, versões, alertas, monitores e suas chaves DSN.