Skip to main content
All recipes

Nuxt.

CodeNitro pluginVue

Add a Nitro plugin under `server/plugins/`. The SDK initializes once when the Nuxt server starts and instruments every outbound `$fetch` call automatically.

1. Install.

Bash
npm install @checkupstream/sdk

2. Add the Nitro plugin.

server/plugins/checkupstream.ts
import { defineCheckUpstreamPlugin } from "@checkupstream/sdk/integrations/nuxt";

export default defineCheckUpstreamPlugin({
  sdkKey: process.env.CHECKUPSTREAM_SDK_KEY!,
});

Ship reliable upstream.

Drop the SDK in, point it at your project key, and start seeing live upstream telemetry inside the dashboard.