Modulis for Express
Add comprehensive monitoring to your Express.js applications with automatic request tracing, middleware profiling, and error tracking.
Get Started in Minutes
Add Modulis to your Express project with just a few lines of code.
Install the package
npm install @modulis/express Add Modulis as Express middleware
const express = require('express');
const { modulis } = require('@modulis/express');
const app = express();
// Add Modulis middleware early
app.use(modulis({
apiKey: 'YOUR_API_KEY',
}));
app.get('/', (req, res) => {
res.send('Hello World');
}); Deploy and monitor
Deploy your application and start seeing real-time telemetry data in your Modulis dashboard within seconds.
Key Features for Express
Purpose-built instrumentation designed for the Express ecosystem.
Request Tracing
Automatically trace every HTTP request with timing, headers, and response details.
Middleware Profiling
Identify slow middleware in your stack and understand the full request processing pipeline.
Error Tracking
Capture unhandled errors and exceptions with full request context and stack traces.
Route Analytics
Monitor route-level performance, response times, and error rates with automatic grouping.
Why Modulis + Express?
One-line setup with Express middleware pattern
Automatic database query tracing for popular ORMs
Distributed tracing across microservices
Compatible with Express 4 and Express 5