@openstatus/next-monitoring
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

OpenStatus Real User Monitoring for NextJS

Start monitoring the performance your NextJS application with OpenStatus Real User Monitoring.

Usage

To use OpenStatus Real User Monitoring in your NextJS application, you need to install the package first:

pnpm add @openstatus/next-monitoring

Then, you need to add in your application the OpenStatusProvider component. You can do this in your custom layout.tsx file or in a custom layout component

import { OpenStatusProvider } from "@openstatus/next-monitoring";

export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode;
}>) {
  return (
    <html lang="en">
      <body className={inter.className}>
        <OpenStatusProvider dsn="YOUR_DSN" />
        {children}
      </body>
    </html>
  );
}

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.49latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.49
0.0.30
0.0.20
0.0.10

Package Sidebar

Install

npm i @openstatus/next-monitoring

Weekly Downloads

9

Version

0.0.4

License

AGPL-3.0

Unpacked Size

52.1 kB

Total Files

9

Last publish

Collaborators

  • thibaultleouay
  • maximiliankaske