[{"data":1,"prerenderedAt":1023},["ShallowReactive",2],{"figure-telemetry":3,"menu-audits":6,"menu-decisions":7,"menu-projects":23,"menu-workflows":99,"wiki":116,"doc-\u002Fpackages\u002Fobservability\u002Freadme":429},{"value":4,"alert":5},"18%",false,[],[8,11,14,17,20],{"label":9,"to":10},"0041 The visitor view becomes its own app, and the portal reads only as a developer platform","\u002Fdecisions\u002F0041-personal-site-splits-from-developer-portal",{"label":12,"to":13},"0040 Visitors land on the front page and toggle to the developer view","\u002Fdecisions\u002F0040-developer-portal-visitor-structure",{"label":15,"to":16},"0039 The developer portal is redesigned for visitors, from a twelve-site benchmark","\u002Fdecisions\u002F0039-developer-portal-benchmark",{"label":18,"to":19},"0038 Marina Roustan's discovery","\u002Fdecisions\u002F0038-marina-roustan-discovery",{"label":21,"to":22},"0013 New linters: the robustness gap is tsconfig and enforcement, not plugins","\u002Fdecisions\u002F0013-linter-coverage",[24,29,60,83],{"labelKey":25,"icon":26,"to":27,"badge":28},"app.menu.allProjects","i-lucide-layers","\u002Fprojects","11",{"labelKey":30,"icon":31,"to":32,"badge":33,"children":34},"app.menu.kinds.apps","i-lucide-app-window","\u002Fprojects?kind=apps","5",[35,40,45,50,55],{"label":36,"icon":31,"to":37,"badge":38,"coverage":39},"developer-portal","\u002Fprojects\u002Fdeveloper-portal","94%",94.37,{"label":41,"icon":31,"to":42,"badge":43,"coverage":44},"huella-legal","\u002Fprojects\u002Fhuella-legal","97%",97.48,{"label":46,"icon":31,"to":47,"badge":48,"coverage":49},"marina-roustan","\u002Fprojects\u002Fmarina-roustan","100%",100,{"label":51,"icon":31,"to":52,"badge":53,"coverage":54},"portfolio","\u002Fprojects\u002Fportfolio","91%",91.31,{"label":56,"icon":31,"to":57,"badge":58,"coverage":59},"wp-editor","\u002Fprojects\u002Fwp-editor","50%",49.89,{"labelKey":61,"icon":62,"to":63,"badge":64,"children":65},"app.menu.kinds.packages","i-lucide-package","\u002Fprojects?kind=packages","4",[66,71,75,80],{"label":67,"icon":62,"to":68,"badge":69,"coverage":70},"configs","\u002Fprojects\u002Fconfigs","76%",75.7,{"label":72,"icon":62,"to":73,"badge":48,"coverage":74},"content","\u002Fprojects\u002Fcontent",99.58,{"label":76,"icon":62,"to":77,"badge":78,"coverage":79},"i18n","\u002Fprojects\u002Fi18n","99%",99.08,{"label":81,"icon":62,"to":82,"badge":48,"coverage":49},"observability","\u002Fprojects\u002Fobservability",{"labelKey":84,"icon":85,"to":86,"badge":87,"children":88},"app.menu.kinds.infrastructure","i-lucide-server","\u002Fprojects?kind=infrastructure","2",[89,94],{"label":90,"icon":85,"to":91,"badge":92,"coverage":93},"scripts","\u002Fprojects\u002Fscripts","79%",78.6,{"label":95,"icon":85,"to":96,"badge":97,"coverage":98},"translations","\u002Fprojects\u002Ftranslations","93%",93.33,[100,103,106,109,112],{"label":101,"to":102},"Huella Legal","\u002Fworkflows\u002Fhuella-legal",{"label":104,"to":105},"Marina Roustan","\u002Fworkflows\u002Fmarina-roustan",{"label":107,"to":108},"Developer portal front door","\u002Fworkflows\u002Fdeveloper-portal-front-door",{"label":110,"to":111},"Huella Legal editorial","\u002Fworkflows\u002Fhuella-legal-editorial",{"labelKey":113,"icon":114,"to":115},"app.menu.newProject","i-lucide-plus","\u002Fworkflows\u002Fnew",[117,134,210,255,291,352],{"id":118,"label":119,"icon":120,"blurb":121,"groups":122},"workspace","Workspace","i-lucide-home","The two files at the root, and the generated index of everything the repo can do.",[123],{"key":124,"label":125,"entries":126},"root","The root",[127,131],{"path":128,"label":129,"kind":130},"\u002Freadme","Joinery","readme",{"path":132,"label":133,"kind":130},"\u002Fsecurity","Security policy",{"id":135,"label":136,"icon":137,"blurb":138,"groups":139},"docs","Docs","i-lucide-library","Subjects no single project owns — the models, the procedures, the answered decisions.",[140,150,168,186,192,198,204],{"key":135,"label":141,"entries":142},"Start here",[143,147],{"path":144,"label":145,"kind":146},"\u002Fdocs\u002Freadme","Overview","doc",{"path":148,"label":149,"kind":146},"\u002Fdocs\u002Ffeatures","Features",{"key":151,"label":152,"entries":153},"concepts","Concepts",[154,156,159,162,165],{"path":155,"label":145,"kind":146},"\u002Fdocs\u002Fconcepts\u002Freadme",{"path":157,"label":158,"kind":146},"\u002Fdocs\u002Fconcepts\u002Fversioning","How a version gets derived from a commit",{"path":160,"label":161,"kind":146},"\u002Fdocs\u002Fconcepts\u002Fconventions","Naming and folder conventions",{"path":163,"label":164,"kind":146},"\u002Fdocs\u002Fconcepts\u002Fagent-setup","The agent setup as one inspectable system",{"path":166,"label":167,"kind":146},"\u002Fdocs\u002Fconcepts\u002Fboundaries","Why the boundary system exists",{"key":169,"label":170,"entries":171},"guides","Guides",[172,174,177,180,183],{"path":173,"label":145,"kind":146},"\u002Fdocs\u002Fguides\u002Freadme",{"path":175,"label":176,"kind":146},"\u002Fdocs\u002Fguides\u002Fchange-lifecycle","A change, end to end",{"path":178,"label":179,"kind":146},"\u002Fdocs\u002Fguides\u002Fadding-a-locale","Adding a locale",{"path":181,"label":182,"kind":146},"\u002Fdocs\u002Fguides\u002Ffirst-hour","First hour in this repo",{"path":184,"label":185,"kind":146},"\u002Fdocs\u002Fguides\u002Frepo-secrets","Provisioning the repo secrets",{"key":187,"label":188,"entries":189},"decisions","Decisions",[190],{"path":191,"label":145,"kind":146},"\u002Fdocs\u002Fdecisions\u002Freadme",{"key":193,"label":194,"entries":195},"audits","Audits",[196],{"path":197,"label":145,"kind":146},"\u002Fdocs\u002Faudits\u002Freadme",{"key":199,"label":200,"entries":201},"workflows","Workflows",[202],{"path":203,"label":145,"kind":146},"\u002Fdocs\u002Fworkflows\u002Freadme",{"key":205,"label":206,"entries":207},"benchmarks","Benchmarks",[208],{"path":209,"label":145,"kind":146},"\u002Fdocs\u002Fbenchmarks\u002Freadme",{"id":211,"label":212,"icon":31,"blurb":213,"groups":214},"apps","Apps","Each app's own reference, colocated with its code so it changes in the same diff.",[215,220,233,240,245,250],{"key":36,"label":216,"entries":217},"Developer Portal",[218],{"path":219,"label":145,"kind":130},"\u002Fapps\u002Fdeveloper-portal\u002Freadme",{"key":41,"label":101,"entries":221},[222,224,227,230],{"path":223,"label":145,"kind":130},"\u002Fapps\u002Fhuella-legal\u002Freadme",{"path":225,"label":226,"kind":130},"\u002Fapps\u002Fhuella-legal\u002Fdesign","Huella Legal design",{"path":228,"label":229,"kind":130},"\u002Fapps\u002Fhuella-legal\u002Flayers\u002Finterest\u002Freadme","layers\u002Finterest",{"path":231,"label":232,"kind":130},"\u002Fapps\u002Fhuella-legal\u002Flayers\u002Flegacy\u002Freadme","layers\u002Flegacy",{"key":46,"label":104,"entries":234},[235,237],{"path":236,"label":145,"kind":130},"\u002Fapps\u002Fmarina-roustan\u002Freadme",{"path":238,"label":239,"kind":130},"\u002Fapps\u002Fmarina-roustan\u002Fdesign","Marina Roustan design",{"key":51,"label":241,"entries":242},"Portfolio",[243],{"path":244,"label":145,"kind":130},"\u002Fapps\u002Fportfolio\u002Freadme",{"key":130,"label":246,"entries":247},"Readme",[248],{"path":249,"label":212,"kind":130},"\u002Fapps\u002Freadme",{"key":56,"label":251,"entries":252},"Wp Editor",[253],{"path":254,"label":145,"kind":130},"\u002Fapps\u002Fwp-editor\u002Freadme",{"id":256,"label":257,"icon":62,"blurb":258,"groups":259},"packages","Packages","Each package's own reference, colocated with its code so it changes in the same diff.",[260,268,276,282,287],{"key":67,"label":261,"entries":262},"Configs",[263,265],{"path":264,"label":145,"kind":130},"\u002Fpackages\u002Fconfigs\u002Freadme",{"path":266,"label":267,"kind":130},"\u002Fpackages\u002Fconfigs\u002Fsrc\u002Feslint\u002Flib\u002Freadme","eslint\u002Flib",{"key":72,"label":269,"entries":270},"Content",[271,273],{"path":272,"label":145,"kind":130},"\u002Fpackages\u002Fcontent\u002Freadme",{"path":274,"label":275,"kind":130},"\u002Fpackages\u002Fcontent\u002Fsrc\u002Fnuxt\u002Freadme","nuxt",{"key":76,"label":76,"entries":277},[278,280],{"path":279,"label":145,"kind":130},"\u002Fpackages\u002Fi18n\u002Freadme",{"path":281,"label":275,"kind":130},"\u002Fpackages\u002Fi18n\u002Fsrc\u002Fnuxt\u002Freadme",{"key":81,"label":283,"entries":284},"Observability",[285],{"path":286,"label":145,"kind":130},"\u002Fpackages\u002Fobservability\u002Freadme",{"key":130,"label":246,"entries":288},[289],{"path":290,"label":257,"kind":130},"\u002Fpackages\u002Freadme",{"id":292,"label":293,"icon":85,"blurb":294,"groups":295},"infrastructure","Infrastructure","Each service's own reference, colocated with its code so it changes in the same diff.",[296,300,347],{"key":130,"label":246,"entries":297},[298],{"path":299,"label":293,"kind":130},"\u002Finfrastructure\u002Freadme",{"key":90,"label":301,"entries":302},"Scripts",[303,305,308,311,314,317,320,323,326,329,332,335,338,341,344],{"path":304,"label":145,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Freadme",{"path":306,"label":307,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fbrand\u002Freadme","brand",{"path":309,"label":310,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fci-failures\u002Freadme","ci-failures",{"path":312,"label":313,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fcoverage-report\u002Freadme","coverage-report",{"path":315,"label":316,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fdev\u002Freadme","dev",{"path":318,"label":319,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fdrift\u002Freadme","drift",{"path":321,"label":322,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fenv-sync\u002Freadme","env-sync",{"path":324,"label":325,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Finvariants\u002Freadme","invariants",{"path":327,"label":328,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fissue\u002Freadme","issue",{"path":330,"label":331,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fmap\u002Freadme","map",{"path":333,"label":334,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fshared\u002Freadme","shared",{"path":336,"label":337,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fship\u002Freadme","ship",{"path":339,"label":340,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fusage\u002Freadme","usage",{"path":342,"label":343,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fworkflow\u002Freadme","workflow",{"path":345,"label":346,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fworktree\u002Freadme","worktree",{"key":95,"label":348,"entries":349},"Translations",[350],{"path":351,"label":145,"kind":130},"\u002Finfrastructure\u002Ftranslations\u002Freadme",{"id":353,"label":354,"icon":355,"blurb":356,"groups":357},"agents","Agent setup","i-lucide-bot","The skills and subagents an agent working in this repo loads.",[358,373],{"key":353,"label":359,"entries":360},"Subagents",[361,364,367,370],{"path":362,"label":363,"kind":130},"\u002F.claude\u002Fagents\u002Freview-architecture","Review Architecture",{"path":365,"label":366,"kind":130},"\u002F.claude\u002Fagents\u002Freview-correctness","Review Correctness",{"path":368,"label":369,"kind":130},"\u002F.claude\u002Fagents\u002Freview-tests","Review Tests",{"path":371,"label":372,"kind":130},"\u002F.claude\u002Fagents\u002Fticket-planner","Ticket Planner",{"key":374,"label":375,"entries":376},"skills","Skills",[377,381,384,387,390,393,396,399,402,405,408,411,414,417,420,423,426],{"path":378,"label":379,"kind":380},"\u002F.claude\u002Fskills\u002Fcontent-new-vendor\u002Fskill","Adding a content vendor","skill",{"path":382,"label":383,"kind":380},"\u002F.claude\u002Fskills\u002Fconfigs-new-rule\u002Fskill","Adding a lint rule",{"path":385,"label":386,"kind":380},"\u002F.claude\u002Fskills\u002Fscripts-new-script\u002Fskill","Adding a script",{"path":388,"label":389,"kind":380},"\u002F.claude\u002Fskills\u002Fi18n-new-vendor\u002Fskill","Adding a translations vendor",{"path":391,"label":392,"kind":380},"\u002F.claude\u002Fskills\u002Fnuxt-module-route\u002Fskill","Adding to a package's Nuxt module",{"path":394,"label":395,"kind":380},"\u002F.claude\u002Fskills\u002Fbenchmark\u002Fskill","Benchmarking a design",{"path":397,"label":398,"kind":380},"\u002F.claude\u002Fskills\u002Fwp-bulk-edit\u002Fskill","Bulk-editing WordPress through the editor",{"path":400,"label":401,"kind":380},"\u002F.claude\u002Fskills\u002Fdoc-drift-check\u002Fskill","Checking docs against code",{"path":403,"label":404,"kind":380},"\u002F.claude\u002Fskills\u002Fcomment-cleanup\u002Fskill","Comment cleanup",{"path":406,"label":407,"kind":380},"\u002F.claude\u002Fskills\u002Fgithub-issue\u002Fskill","Creating a GitHub issue",{"path":409,"label":410,"kind":380},"\u002F.claude\u002Fskills\u002Fproject-workflow\u002Fskill","Running a project through a workflow",{"path":412,"label":413,"kind":380},"\u002F.claude\u002Fskills\u002Fnew-package\u002Fskill","Scaffolding a workspace project",{"path":415,"label":416,"kind":380},"\u002F.claude\u002Fskills\u002Fstart-issue\u002Fskill","Starting work on a GitHub issue",{"path":418,"label":419,"kind":380},"\u002F.claude\u002Fskills\u002Fdecision-report\u002Fskill","Writing a decision report",{"path":421,"label":422,"kind":380},"\u002F.claude\u002Fskills\u002Faudit-report\u002Fskill","Writing an audit",{"path":424,"label":425,"kind":380},"\u002F.claude\u002Fskills\u002Fhouse-docs\u002Fskill","Writing docs here",{"path":427,"label":428,"kind":380},"\u002F.claude\u002Fskills\u002Fwriting-tests\u002Fskill","Writing specs here",{"id":430,"title":431,"body":432,"description":442,"extension":1017,"kind":1018,"meta":1019,"navigation":494,"path":286,"seo":1020,"stem":1021,"url":1018,"verdict":1018,"__hash__":1022},"docs\u002Fpackages\u002Fobservability\u002FREADME.md","📦 @joinery\u002Fobservability",{"type":433,"value":434,"toc":1012},"minimark",[435,439,443,647,792,820,825,848,884,892,896,962,966,1008],[436,437,431],"h1",{"id":438},"joineryobservability",[440,441,442],"p",{},"Thin wrappers over Grafana Faro (browser) and the OpenTelemetry SDK (Node), so every app starts\ntelemetry the same way. Both land in Grafana Cloud's Tempo, so a browser span and the server span it\ncaused share a trace.",[444,445,450],"pre",{"className":446,"code":447,"language":448,"meta":449,"style":449},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { startWebTelemetry } from \"@joinery\u002Fobservability\";\n\nconst faro = startWebTelemetry({\n    url: \"\u003Cfaro-collector-url>\",\n    app: { name: \"@joinery\u002Fhuella-legal\", version: \"1.0.0\", environment: \"production\" },\n});\n\nfaro.api.pushError(new Error(\"boom\"));\n","ts","",[451,452,453,489,496,518,538,592,603,608],"code",{"__ignoreMap":449},[454,455,458,462,466,470,473,476,479,483,486],"span",{"class":456,"line":457},"line",1,[454,459,461],{"class":460},"s7zQu","import",[454,463,465],{"class":464},"sMK4o"," {",[454,467,469],{"class":468},"sTEyZ"," startWebTelemetry",[454,471,472],{"class":464}," }",[454,474,475],{"class":460}," from",[454,477,478],{"class":464}," \"",[454,480,482],{"class":481},"sfazB","@joinery\u002Fobservability",[454,484,485],{"class":464},"\"",[454,487,488],{"class":464},";\n",[454,490,492],{"class":456,"line":491},2,[454,493,495],{"emptyLinePlaceholder":494},true,"\n",[454,497,499,503,506,509,512,515],{"class":456,"line":498},3,[454,500,502],{"class":501},"spNyl","const",[454,504,505],{"class":468}," faro ",[454,507,508],{"class":464},"=",[454,510,469],{"class":511},"s2Zo4",[454,513,514],{"class":468},"(",[454,516,517],{"class":464},"{\n",[454,519,521,525,528,530,533,535],{"class":456,"line":520},4,[454,522,524],{"class":523},"swJcz","    url",[454,526,527],{"class":464},":",[454,529,478],{"class":464},[454,531,532],{"class":481},"\u003Cfaro-collector-url>",[454,534,485],{"class":464},[454,536,537],{"class":464},",\n",[454,539,541,544,546,548,551,553,555,558,560,563,566,568,570,573,575,577,580,582,584,587,589],{"class":456,"line":540},5,[454,542,543],{"class":523},"    app",[454,545,527],{"class":464},[454,547,465],{"class":464},[454,549,550],{"class":523}," name",[454,552,527],{"class":464},[454,554,478],{"class":464},[454,556,557],{"class":481},"@joinery\u002Fhuella-legal",[454,559,485],{"class":464},[454,561,562],{"class":464},",",[454,564,565],{"class":523}," version",[454,567,527],{"class":464},[454,569,478],{"class":464},[454,571,572],{"class":481},"1.0.0",[454,574,485],{"class":464},[454,576,562],{"class":464},[454,578,579],{"class":523}," environment",[454,581,527],{"class":464},[454,583,478],{"class":464},[454,585,586],{"class":481},"production",[454,588,485],{"class":464},[454,590,591],{"class":464}," },\n",[454,593,595,598,601],{"class":456,"line":594},6,[454,596,597],{"class":464},"}",[454,599,600],{"class":468},")",[454,602,488],{"class":464},[454,604,606],{"class":456,"line":605},7,[454,607,495],{"emptyLinePlaceholder":494},[454,609,611,614,617,620,622,625,627,630,633,635,637,640,642,645],{"class":456,"line":610},8,[454,612,613],{"class":468},"faro",[454,615,616],{"class":464},".",[454,618,619],{"class":468},"api",[454,621,616],{"class":464},[454,623,624],{"class":511},"pushError",[454,626,514],{"class":468},[454,628,629],{"class":464},"new",[454,631,632],{"class":511}," Error",[454,634,514],{"class":468},[454,636,485],{"class":464},[454,638,639],{"class":481},"boom",[454,641,485],{"class":464},[454,643,644],{"class":468},"))",[454,646,488],{"class":464},[444,648,650],{"className":446,"code":649,"language":448,"meta":449,"style":449},"import { startNodeTelemetry } from \"@joinery\u002Fobservability\u002Fnode\";\n\nconst provider = startNodeTelemetry({\n    url: \"\u003Cotlp-gateway-url>\",\n    instanceId: \"123456\",\n    token: \"glc_…\",\n    app: { name: \"@joinery\u002Fhuella-legal\", version: \"1.0.0\", environment: \"production\" },\n});\n",[451,651,652,674,678,693,708,724,740,784],{"__ignoreMap":449},[454,653,654,656,658,661,663,665,667,670,672],{"class":456,"line":457},[454,655,461],{"class":460},[454,657,465],{"class":464},[454,659,660],{"class":468}," startNodeTelemetry",[454,662,472],{"class":464},[454,664,475],{"class":460},[454,666,478],{"class":464},[454,668,669],{"class":481},"@joinery\u002Fobservability\u002Fnode",[454,671,485],{"class":464},[454,673,488],{"class":464},[454,675,676],{"class":456,"line":491},[454,677,495],{"emptyLinePlaceholder":494},[454,679,680,682,685,687,689,691],{"class":456,"line":498},[454,681,502],{"class":501},[454,683,684],{"class":468}," provider ",[454,686,508],{"class":464},[454,688,660],{"class":511},[454,690,514],{"class":468},[454,692,517],{"class":464},[454,694,695,697,699,701,704,706],{"class":456,"line":520},[454,696,524],{"class":523},[454,698,527],{"class":464},[454,700,478],{"class":464},[454,702,703],{"class":481},"\u003Cotlp-gateway-url>",[454,705,485],{"class":464},[454,707,537],{"class":464},[454,709,710,713,715,717,720,722],{"class":456,"line":540},[454,711,712],{"class":523},"    instanceId",[454,714,527],{"class":464},[454,716,478],{"class":464},[454,718,719],{"class":481},"123456",[454,721,485],{"class":464},[454,723,537],{"class":464},[454,725,726,729,731,733,736,738],{"class":456,"line":594},[454,727,728],{"class":523},"    token",[454,730,527],{"class":464},[454,732,478],{"class":464},[454,734,735],{"class":481},"glc_…",[454,737,485],{"class":464},[454,739,537],{"class":464},[454,741,742,744,746,748,750,752,754,756,758,760,762,764,766,768,770,772,774,776,778,780,782],{"class":456,"line":605},[454,743,543],{"class":523},[454,745,527],{"class":464},[454,747,465],{"class":464},[454,749,550],{"class":523},[454,751,527],{"class":464},[454,753,478],{"class":464},[454,755,557],{"class":481},[454,757,485],{"class":464},[454,759,562],{"class":464},[454,761,565],{"class":523},[454,763,527],{"class":464},[454,765,478],{"class":464},[454,767,572],{"class":481},[454,769,485],{"class":464},[454,771,562],{"class":464},[454,773,579],{"class":523},[454,775,527],{"class":464},[454,777,478],{"class":464},[454,779,586],{"class":481},[454,781,485],{"class":464},[454,783,591],{"class":464},[454,785,786,788,790],{"class":456,"line":610},[454,787,597],{"class":464},[454,789,600],{"class":468},[454,791,488],{"class":464},[440,793,794,795,802,803,809,810,813,814,819],{},"That's the whole package: ",[796,797,799],"a",{"href":798},"repo:packages\u002Fobservability\u002Fsrc\u002Findex.ts",[451,800,801],{},"src\u002Findex.ts"," and ",[796,804,806],{"href":805},"repo:packages\u002Fobservability\u002Fsrc\u002Fnode.ts",[451,807,808],{},"src\u002Fnode.ts",". The\ntwo entries must never import each other — one needs ",[451,811,812],{},"window",", the other Node built-ins.\n",[796,815,817],{"href":816},"\u002Fwiki\u002Fapps\u002Fhuella-legal\u002Freadme#observability",[451,818,557],{}," is the worked example.",[821,822,824],"h2",{"id":823},"what-you-get-for-free","What you get for free",[440,826,827,831,832,835,836,839,840,843,844,847],{},[828,829,830],"strong",{},"Browser."," ",[451,833,834],{},"getWebInstrumentations()"," covers errors, unhandled rejections, web vitals, console and\nsession tracking. ",[451,837,838],{},"TracingInstrumentation"," adds fetch\u002FXHR spans and registers a global OpenTelemetry\ntracer provider, so a caller that wants manual spans can install ",[451,841,842],{},"@opentelemetry\u002Fapi"," and use\n",[451,845,846],{},"trace.getTracer()"," without this package being involved.",[440,849,850,853,854,857,858,861,862,865,866,802,869,872,873,876,877,880,881,883],{},[828,851,852],{},"Server."," Outbound ",[451,855,856],{},"fetch"," spans (via undici) and ",[451,859,860],{},"traceparent"," propagation in both directions —\nan incoming header continues the browser's trace, an outgoing request carries ours. Every span is\nstamped with ",[451,863,864],{},"service.name",", ",[451,867,868],{},"service.version",[451,870,871],{},"deployment.environment.name"," from ",[451,874,875],{},"app",".\n",[451,878,879],{},"provider.register()"," installs the W3C propagator and the async context manager, so a caller can\n",[451,882,846],{}," and open its own spans without this package being involved.",[440,885,886,887,891],{},"The inbound span is ",[888,889,890],"em",{},"not"," included — see the gotcha below.",[821,893,895],{"id":894},"gotchas","Gotchas",[897,898,899,913,934,947,953],"ul",{},[900,901,902,905,906,908,909,912],"li",{},[828,903,904],{},"Browser only for the default entry."," Faro touches ",[451,907,812],{}," while initializing, so it must not\nrun during SSR — in Nuxt that means a ",[451,910,911],{},".client"," plugin.",[900,914,915,831,918,921,922,925,926,929,930,933],{},[828,916,917],{},"No inbound span. The caller opens it.",[451,919,920],{},"HttpInstrumentation"," can't patch ",[451,923,924],{},"node:http"," under ESM\nwithout a preload, and Nitro imports it before any plugin runs. Without a request span, outbound\nfetches become root traces — ",[796,927,41],{"href":928},"repo:apps\u002Fhuella-legal\u002Fserver\u002Fplugins\u002Fobservability.ts","\nwraps ",[451,931,932],{},"nitroApp.h3App.handler"," to open one.",[900,935,936,942,943,946],{},[828,937,938,941],{},[451,939,940],{},"app.version"," is the caller's to supply."," Telemetry stamped ",[451,944,945],{},"0.0.0"," cannot be attributed to a\nrelease.",[900,948,949,952],{},[828,950,951],{},"Stack traces arrive minified."," No app uploads source maps yet.",[900,954,955,958,959,961],{},[828,956,957],{},"The first page load's server trace stands alone",": a document navigation carries no\n",[451,960,860],{},". Everything fetched afterwards joins up.",[821,963,965],{"id":964},"known-gaps","Known gaps",[967,968,969,982],"table",{},[970,971,972],"thead",{},[973,974,975,979],"tr",{},[976,977,978],"th",{},"Gap",[976,980,981],{},"Note",[983,984,985,997],"tbody",{},[973,986,987,991],{},[988,989,990],"td",{},"Cross-origin propagation",[988,992,993,994],{},"Today every browser request is same-origin. Calling another origin needs Faro's ",[451,995,996],{},"propagateTraceHeaderCorsUrls",[973,998,999,1002],{},[988,1000,1001],{},"No metrics",[988,1003,1004,1005],{},"RED metrics can be derived from spans in Grafana; runtime metrics need a ",[451,1006,1007],{},"MeterProvider",[1009,1010,1011],"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 .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}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":449,"searchDepth":491,"depth":491,"links":1013},[1014,1015,1016],{"id":823,"depth":491,"text":824},{"id":894,"depth":491,"text":895},{"id":964,"depth":491,"text":965},"md",null,{},{"title":431,"description":442},"packages\u002Fobservability\u002FREADME","-_RoSxXWJvECZfpfnlbBJmnPeVpn37EM85HWsub-M1M",1795478399303]