One command setup
What it does
- Reads
package.jsonand your entry files - Writes
instrumentation.ts(or.js) in the project root - Appends
ROCKETGRAPH_API_KEYandOTEL_SERVICE_NAMEto.env.local - Installs only the OTel packages your project needs
- Configures traces, metrics, and logs → Rocketgraph
- Bridges
console.log/warn/errorto OTel logs
Supported
Frameworks: Express, Fastify, Next.js, NestJS, Koa, Hapi, Restify Libraries: PostgreSQL, MySQL, MongoDB, Redis, Prisma, TypeORM, Knex, GraphQL, gRPC, AWS SDK, Pino, Winston, BunyanAfter running
- Next.js: Auto-loaded. Just restart your dev server.
- Everything else: Import as the first line of your entry file:
Optional: add error handlers
init never modifies application code.
Offline mode (no AI)
Commands
Manual setup
Install manually without the agent
Install manually without the agent