[{"data":1,"prerenderedAt":442},["ShallowReactive",2],{"navigation_docs":3,"-traced-events-channels":61,"-traced-events-channels-surround":439},[4,21,42,52],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":20},"Getting Started","i-lucide-rocket","\u002Fgetting-started","1.getting-started",[10,15],{"title":11,"path":12,"stem":13,"icon":14},"Introduction","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F1.introduction","i-lucide-house",{"title":16,"path":17,"stem":18,"icon":19},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation","i-lucide-download",false,{"title":22,"icon":23,"path":24,"stem":25,"children":26,"page":20},"Guide","i-lucide-book-open","\u002Fguide","2.guide",[27,32,37],{"title":28,"path":29,"stem":30,"icon":31},"Configuration","\u002Fguide\u002Fconfiguration","2.guide\u002F1.configuration","i-lucide-settings",{"title":33,"path":34,"stem":35,"icon":36},"Server Composables","\u002Fguide\u002Fserver-composables","2.guide\u002F2.server-composables","i-lucide-code",{"title":38,"path":39,"stem":40,"icon":41},"MCP Server","\u002Fguide\u002Fmcp-server","2.guide\u002F3.mcp-server","i-lucide-brain",{"title":43,"icon":44,"path":45,"stem":46,"children":47,"page":20},"DevTools","i-lucide-monitor","\u002Fdevtools","3.devtools",[48],{"title":49,"path":50,"stem":51,"icon":44},"DevTools UI","\u002Fdevtools\u002Fui","3.devtools\u002F1.ui",{"title":53,"icon":54,"path":55,"stem":56,"children":57,"page":20},"Traced Events","i-lucide-activity","\u002Ftraced-events","4.traced-events",[58],{"title":53,"path":59,"stem":60,"icon":54},"\u002Ftraced-events\u002Fchannels","4.traced-events\u002F1.channels",{"id":62,"title":53,"body":63,"description":432,"extension":433,"links":434,"meta":435,"navigation":436,"path":59,"seo":437,"stem":60,"__hash__":438},"docs\u002F4.traced-events\u002F1.channels.md",{"type":64,"value":65,"toc":424},"minimark",[66,70,104,109,230,234,241,354,365,369,372,377,402,406,420],[67,68,69],"p",{},"Each traced operation follows the Diagnostic Channels lifecycle:",[71,72,73,81,92,98],"ol",{},[74,75,76,80],"li",{},[77,78,79],"strong",{},"Start"," — When an operation begins, a span is created with contextual attributes (URL, method, component name, etc.)",[74,82,83,86,87,91],{},[77,84,85],{},"Async Context"," — The span is bound to the current async context via ",[88,89,90],"code",{},"AsyncLocalStorage",", ensuring child spans maintain parent relationships",[74,93,94,97],{},[77,95,96],{},"End"," — On completion, the span is finalized with response metadata (status code, etc.)",[74,99,100,103],{},[77,101,102],{},"Error"," — If the operation fails, the span records the exception and marks the status as error",[105,106,108],"h2",{"id":107},"available-channels","Available channels",[110,111,112,128],"table",{},[113,114,115],"thead",{},[116,117,118,122,125],"tr",{},[119,120,121],"th",{},"Channel",[119,123,124],{},"Events",[119,126,127],{},"Required Nuxt Version",[129,130,131,145,157,169,181,194,206,218],"tbody",{},[116,132,133,139,142],{},[134,135,136],"td",{},[88,137,138],{},"nuxt.render",[134,140,141],{},"SSR renders",[134,143,144],{},">= 4.5.0",[116,146,147,152,155],{},[134,148,149],{},[88,150,151],{},"nuxt.island",[134,153,154],{},"Island component renders",[134,156,144],{},[116,158,159,164,167],{},[134,160,161],{},[88,162,163],{},"nuxt.data",[134,165,166],{},"Data fetching operations",[134,168,144],{},[116,170,171,176,179],{},[134,172,173],{},[88,174,175],{},"nuxt.plugin",[134,177,178],{},"Plugin initialization",[134,180,144],{},[116,182,183,188,191],{},[134,184,185],{},[88,186,187],{},"h3.request",[134,189,190],{},"HTTP requests via h3",[134,192,193],{},">= 5.0.0",[116,195,196,201,204],{},[134,197,198],{},[88,199,200],{},"srvx.request",[134,202,203],{},"Server route requests",[134,205,193],{},[116,207,208,213,216],{},[134,209,210],{},[88,211,212],{},"srvx.middleware",[134,214,215],{},"Server route middleware",[134,217,193],{},[116,219,220,225,228],{},[134,221,222],{},[88,223,224],{},"unstorage.*",[134,226,227],{},"Storage operations (get, set, remove, etc.)",[134,229,193],{},[105,231,233],{"id":232},"enable-channels","Enable channels",[67,235,236,237,240],{},"Configure which channels are active via the ",[88,238,239],{},"tracingChannel"," Nuxt option:",[242,243,249],"pre",{"className":244,"code":245,"filename":246,"language":247,"meta":248,"style":248},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","export default defineNuxtConfig({\n  tracingChannel: {\n    nuxt: true,\n    h3: true,\n    srvx: true,\n    unstorage: true,\n  },\n})\n","nuxt.config.ts","ts","",[88,250,251,275,288,303,315,327,339,345],{"__ignoreMap":248},[252,253,256,260,263,267,271],"span",{"class":254,"line":255},"line",1,[252,257,259],{"class":258},"s7zQu","export",[252,261,262],{"class":258}," default",[252,264,266],{"class":265},"s2Zo4"," defineNuxtConfig",[252,268,270],{"class":269},"sTEyZ","(",[252,272,274],{"class":273},"sMK4o","{\n",[252,276,278,282,285],{"class":254,"line":277},2,[252,279,281],{"class":280},"swJcz","  tracingChannel",[252,283,284],{"class":273},":",[252,286,287],{"class":273}," {\n",[252,289,291,294,296,300],{"class":254,"line":290},3,[252,292,293],{"class":280},"    nuxt",[252,295,284],{"class":273},[252,297,299],{"class":298},"sfNiH"," true",[252,301,302],{"class":273},",\n",[252,304,306,309,311,313],{"class":254,"line":305},4,[252,307,308],{"class":280},"    h3",[252,310,284],{"class":273},[252,312,299],{"class":298},[252,314,302],{"class":273},[252,316,318,321,323,325],{"class":254,"line":317},5,[252,319,320],{"class":280},"    srvx",[252,322,284],{"class":273},[252,324,299],{"class":298},[252,326,302],{"class":273},[252,328,330,333,335,337],{"class":254,"line":329},6,[252,331,332],{"class":280},"    unstorage",[252,334,284],{"class":273},[252,336,299],{"class":298},[252,338,302],{"class":273},[252,340,342],{"class":254,"line":341},7,[252,343,344],{"class":273},"  },\n",[252,346,348,351],{"class":254,"line":347},8,[252,349,350],{"class":273},"}",[252,352,353],{"class":269},")\n",[67,355,356,357,360,361,364],{},"Set ",[88,358,359],{},"tracingChannel: true"," to enable all channels, or ",[88,362,363],{},"false"," to disable all.",[105,366,368],{"id":367},"how-the-lifecycle-works","How the lifecycle works",[67,370,371],{},"For every channel, the module hooks into the diagnostic channel's start and end messages:",[373,374,376],"h3",{"id":375},"render-example","Render example",[71,378,379,386,389,392,399],{},[74,380,381,382,385],{},"Nuxt emits a ",[88,383,384],{},"nuxt.render:start"," message with render context (URL, component, etc.)",[74,387,388],{},"The module creates an OpenTelemetry span and binds it to the async context",[74,390,391],{},"Child operations (data fetching, island rendering) create child spans",[74,393,394,395,398],{},"On ",[88,396,397],{},"nuxt.render:end",", the span is finalized with the response status code",[74,400,401],{},"On error, the span records the exception and sets status to error",[105,403,405],{"id":404},"next-steps","Next steps",[407,408,409,415],"ul",{},[74,410,411],{},[412,413,414],"a",{"href":29},"Configure the module",[74,416,417],{},[412,418,419],{"href":50},"Browse traces in the DevTools UI",[421,422,423],"style",{},"html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":248,"searchDepth":277,"depth":277,"links":425},[426,427,428,431],{"id":107,"depth":277,"text":108},{"id":232,"depth":277,"text":233},{"id":367,"depth":277,"text":368,"children":429},[430],{"id":375,"depth":290,"text":376},{"id":404,"depth":277,"text":405},"Reference of all diagnostic channels and the events they trace","md",null,{},{"icon":54},{"title":53,"description":432},"MYjqASU0nbiXVkztCLRa4CFiBgHyUIgpnlbmgahIq3Y",[440,434],{"title":49,"path":50,"stem":51,"description":441,"icon":44,"children":-1},"Browse traces and logs in real time with the built-in DevTools UI",1787688356248]