Upload source maps and native debug files, declare deployments, and query local telemetry from Monocle Studio.
Requires Node.js 22.12 or later.
npm install -D @monocle.sh/cliList commands and their options:
npx monocle --help
npx monocle <command> --helpFollow the setup guide for your task:
- Source maps: inject debug IDs and upload JavaScript source maps with
monocle sourcemaps. - Native symbols and sources: upload Linux debug files and source code with
monocle debug-files. - Deployments: declare deployments from CI with
monocle deploy. - Studio commands: query local traces, logs, and errors with
monocle studio.
Uploads and deployment declarations require a project token in MONOCLE_API_KEY. Store the token in your CI secrets.
Install Studio alongside the CLI, then start the server:
npm install -D @monocle.sh/studio
npx monocle studio devFollow the Studio setup guide to connect your application's telemetry.