import { H } from '@highlight-run/node'
const highlightOptions = {}
if (!H.isInitialized()) {
H.init(highlightOptions)
}
const onError = (request, error) => {
const parsed = H.parseHeaders(request.headers)
if (parsed !== undefined) {
H.consumeError(error, parsed.secureSessionId, parsed.requestId)
}
}
With our pixel-perfect replays of your Node.js app, you'll get to the bottom of issues in no time and better understand how your app is being used.
Our alerting infrastructure can take abnormal metrics or errors raised in your Node.js app and notify your engineering team over Slack, Discord, and more!
Highlight allows you to track performance, request timings, and several other metrics in your Node.js application.