Getting Started
Installation
How to install @lutejka/nuxt-otel in your Nuxt application
Prerequisites
- Nuxt 4.5.0 or higher (for render channel tracing)
- Node.js 18 or higher
- A package manager (pnpm, npm, yarn, or bun)
How to install
pnpm add @lutejka/nuxt-otel
npm install @lutejka/nuxt-otel
yarn add @lutejka/nuxt-otel
bun add @lutejka/nuxt-otel
How to register the module
Add @lutejka/nuxt-otel to the modules array in your Nuxt configuration:
nuxt.config.ts
export default defineNuxtConfig({
modules: ['@lutejka/nuxt-otel'],
})
How to verify installation
Start your dev server and visit the nuxt devtools:
pnpm dev
If you see the DevTools UI, the module is working. You can also check the server logs for OTel initialization messages.