scira-chat / instrumentation.ts
mukaddamzaid's picture
init commit
5012205
raw
history blame
240 Bytes
import { registerOTel } from '@vercel/otel'
export function register() {
registerOTel({
serviceName: 'next-app',
instrumentations: [
{
name: 'ai-instrumentation',
include: [/^\/api\/ai/]
}
]
})
}