AI Decision System
Replayable, offline-verifiable records for AI-assisted go/no-go decisions: experiment promotions, typed model answers and human-approved actions.
Javascript 오류를 Rollbar에 추적·기록합니다
Error tracking and logging from Javascript to Rollbar
개발 도구JavaScript · TypeScriptGitHub @rollbar직접 설치운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
메이커가 쓴 소개는 위의 한 줄이 전부입니다. 더 자세한 내용은 저장소 README에서 읽을 수 있습니다. 저장소 README ↗
README 전체를 불러오는 중입니다.
README 전문 보기 ↗Session Replay captures and replays user sessions around errors, helping you understand exactly what happened before an error occurred. Replay can also be triggered based on custom conditions to capture critical user flows.
Because Session Replay includes additional recording capabilities, it uses a separate, larger bundle. If you want to use Session Replay, import from rollbar/replay instead of rollbar:
// Standard bundle (smaller, no replay)
import Rollbar from 'rollbar';
// Session Replay bundle (includes replay capabilities)
import Rollbar from 'rollbar/replay';
Choose the standard bundle if you don't need replay functionality.
For Session Replay configuration and usage, see our Session Replay documentation.
Using npm:
npm install --save rollbar
Using yarn:
yarn add rollbar
For CDN/script tag installation, see Quick Start → Browser
First, sign up for a Rollbar account if you haven't already.
For the recommended snippet-based installation with automatic error capture and telemetry, see our Browser JS – Quick Start documentation.
const Rollbar = require('rollbar');
const rollbar = new Rollbar({
accessToken: 'POST_SERVER_ITEM_ACCESS_TOKEN',
captureUncaught: true,
captureUnhandledRejections: true,
payload: { code_version: '1.0.0' },
});
// log a generic message and send to rollbar
rollbar.log('Hello world!');
For framework integrations (Express, Koa, Hapi, and more), custom error handlers, and advanced configuration, see our Node.js server configuration documentation.
For complete usage instructions and configuration reference, see our Javascript SDK docs.
See the examples directory for detailed integration examples with various frameworks and build tools including React, Angular, Vue.js, Next.js, and more.
See our Releases page for a list of all releases, including changes.
If you run into any issues, please email us at [email protected].
For bug reports, please open an issue on GitHub.
For development setup, guidelines, and instructions on submitting pull requests, please see our Contributing Guide.