Skip to content

Commit 07b8a0d

Browse files
committed
feat: integrate @vercel/speed-insights for performance monitoring in the ticket app
1 parent 07332e5 commit 07b8a0d

3 files changed

Lines changed: 34 additions & 0 deletions

File tree

apps/ticket/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"@sentry/nextjs": "^9.33.0",
1717
"@tanstack/react-query": "^5.80.10",
1818
"@tanstack/react-query-devtools": "^5.80.10",
19+
"@vercel/speed-insights": "^1.3.1",
1920
"axios": "^1.10.0",
2021
"classnames": "^2.5.1",
2122
"html5-qrcode": "^2.3.8",

apps/ticket/src/app/layout.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import "@/styles/global.scss";
1111
import { Header } from "@/shared/components/Header";
1212
import { Footer } from "@/shared/components/Footer";
1313
import Script from "next/script";
14+
import { SpeedInsights } from "@vercel/speed-insights/next";
1415

1516
export const metadata: Metadata = {
1617
title: "PERMIT",
@@ -57,6 +58,7 @@ export default function RootLayout({
5758
</OverlayProvider>
5859
</QueryClientProviders>
5960
</GlobalErrorBoundary>
61+
<SpeedInsights />
6062
</body>
6163
</html>
6264
);

pnpm-lock.yaml

Lines changed: 31 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)