Skip to content
monocle-shPublic

About

CLI for monocle.sh.

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Monocle

Monocle CLI

Upload source maps and native debug files, declare deployments, and query local telemetry from Monocle Studio.

Documentation · npm

Install

Requires Node.js 22.12 or later.

npm install -D @monocle.sh/cli

Use

List commands and their options:

npx monocle --help
npx monocle <command> --help

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

Run Studio locally

Install Studio alongside the CLI, then start the server:

npm install -D @monocle.sh/studio
npx monocle studio dev

Follow the Studio setup guide to connect your application's telemetry.

License

Elastic License 2.0

About

CLI for monocle.sh.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages