Skip to content

Highlight

Select a Template

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.

Additional Information

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.

Client-side _app.tsx

import { HighlightInit } from '@highlight-run/next/client'

<HighlightInit
  projectId={<projectId>}
  serviceName="my-nextjs-frontend"
  tracingOrigins
  networkRecording={{
    enabled: true,
    recordHeadersAndBody: true,
  }}
/>

Server-side 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" });
})
`