Overview
Instructions
Overview
Instructions
Overview
highlight.io is monitoring software for the next generation of developers. And it's all open source :).
highlight.io gives you fullstack visibility into your application by pairing session replay, error monitoring, and logging, allowing you to tie frontend issues with backend logs and performance issues.
Instructions
The Highlight Vercel integration is an easy way to connect your Vercel projects to new or existing projects in Highlight.
Installing the integration will inject an environment variable (see below) to automatically send source maps to Highlight. To complete the integration, follow our full Next.js Walkthrough.
_app.tsx
import { HighlightInit } from '@highlight-run/next/client'
<HighlightInit projectId={<projectId>} serviceName="my-nextjs-frontend" tracingOrigins networkRecording={{ enabled: true, recordHeadersAndBody: true, }}/>
pages/api/api-test.ts
import { PageRouterHighlight } from '@highlight-run/next/server'
const withPageRouterHighlight = PageRouterHighlight({ projectID: <projectId>,})
export default withPageRouterHighlight(async function handler( req: NextApiRequest, res: NextApiResponse,) { res.status(200).json({ name: "Jay" });})`
This integration offers additional features for Pro and Enterprise plans.