Drop the SDK into Express, Fastify, Koa, or raw Node. One npm install and HTTP requests, database queries, and errors are traced automatically — with async context propagated through AsyncLocalStorage.
1// In your Node.js app entry point2import JA from "@justanalyticsapp/node";34JA.init({5apiKey: process.env.JUSTANALYTICS_API_KEY,6serviceName: "my-node-api",7environment: "production",8});910// HTTP, fetch, pg, mysql2, redis, mongodb,11// prisma, drizzle — all auto-instrumented.
From a single-file Express API to a fleet of microservices, JustAnalytics traces every request end-to-end.
pg, postgres-js, mysql2, mongodb, ioredis, @upstash/redis, prisma, drizzle — patched at require-time so queries appear in traces with no setup.
Every incoming request becomes a span. Outgoing http/https/fetch calls are tagged so you see the full distributed trace across services.
uncaughtException + unhandledRejection hooked. Sourcemap-ready stack traces, linked to the request that triggered them.
AsyncLocalStorage carries trace context through every callback, promise, and worker_threads boundary. No manual passing.
Add the frontend script for cookie-free analytics, replay, and Web Vitals. One dashboard for client + server.
Latency, error rate, and throughput alerts. Routes to email, webhook, or PagerDuty when a route degrades.
Install the SDK, initialise once at process start, and every Express route, fetch call, and database query is captured.
# Install
npm install @justanalyticsapp/node
# server.js (or app entrypoint — must import BEFORE express/etc)
import JA from '@justanalyticsapp/node';
JA.init({
apiKey: process.env.JUSTANALYTICS_API_KEY,
serviceName: 'my-node-api',
environment: process.env.NODE_ENV,
});
import express from 'express';
const app = express();
app.get('/users/:id', async (req, res) => {
// pg, prisma, drizzle queries traced automatically
const user = await db.user.findUnique({ where: { id: req.params.id } });
res.json(user);
});
app.listen(3000);Replace five tools with one platform. Start with the free tier or try Pro free for 7 days.
Start 7-Day Free Trial