[{"data":1,"prerenderedAt":2159},["ShallowReactive",2],{"navigation_docs":3,"-adapters-cloud-hyperdx":402,"-adapters-cloud-hyperdx-surround":2154},[4,35,159,201,289,299,386],{"title":5,"path":6,"stem":7,"children":8,"page":34},"Getting Started","\u002Fgetting-started","1.getting-started",[9,14,19,24,29],{"title":10,"path":11,"stem":12,"icon":13},"Introduction","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F1.introduction","i-lucide-info",{"title":15,"path":16,"stem":17,"icon":18},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation","i-lucide-download",{"title":20,"path":21,"stem":22,"icon":23},"Quick Start","\u002Fgetting-started\u002Fquick-start","1.getting-started\u002F3.quick-start","i-lucide-zap",{"title":25,"path":26,"stem":27,"icon":28},"Agent Skills","\u002Fgetting-started\u002Fagent-skills","1.getting-started\u002F4.agent-skills","i-lucide-sparkles",{"title":30,"path":31,"stem":32,"icon":33},"vs Other Loggers","\u002Fgetting-started\u002Fvs-other-loggers","1.getting-started\u002F5.vs-other-loggers","i-lucide-scale",false,{"title":36,"path":37,"stem":38,"children":39,"page":34},"Logging","\u002Flogging","2.logging",[40,45,50,55,60,65,70,99,127],{"title":41,"path":42,"stem":43,"icon":44},"Overview","\u002Flogging\u002Foverview","2.logging\u002F0.overview","i-lucide-list",{"title":46,"path":47,"stem":48,"icon":49},"Simple Logging","\u002Flogging\u002Fsimple-logging","2.logging\u002F1.simple-logging","i-lucide-terminal",{"title":51,"path":52,"stem":53,"icon":54},"Wide Events","\u002Flogging\u002Fwide-events","2.logging\u002F2.wide-events","i-lucide-layers",{"title":56,"path":57,"stem":58,"icon":59},"Structured Errors","\u002Flogging\u002Fstructured-errors","2.logging\u002F3.structured-errors","i-lucide-shield-alert",{"title":61,"path":62,"stem":63,"icon":64},"Catalogs","\u002Flogging\u002Fcatalogs","2.logging\u002F4.catalogs","i-lucide-book-open",{"title":66,"path":67,"stem":68,"icon":69},"Client Logging","\u002Flogging\u002Fclient-logging","2.logging\u002F5.client-logging","i-lucide-monitor",{"title":71,"icon":72,"path":73,"stem":74,"children":75,"page":34},"AI SDK","i-simple-icons-vercel","\u002Flogging\u002Fai-sdk","2.logging\u002F6.ai-sdk",[76,79,84,89,94],{"title":41,"path":77,"stem":78,"icon":44},"\u002Flogging\u002Fai-sdk\u002Foverview","2.logging\u002F6.ai-sdk\u002F01.overview",{"title":80,"path":81,"stem":82,"icon":83},"Usage","\u002Flogging\u002Fai-sdk\u002Fusage","2.logging\u002F6.ai-sdk\u002F02.usage","i-lucide-code",{"title":85,"path":86,"stem":87,"icon":88},"Options","\u002Flogging\u002Fai-sdk\u002Foptions","2.logging\u002F6.ai-sdk\u002F03.options","i-lucide-sliders",{"title":90,"path":91,"stem":92,"icon":93},"Metadata","\u002Flogging\u002Fai-sdk\u002Fmetadata","2.logging\u002F6.ai-sdk\u002F04.metadata","i-lucide-database",{"title":95,"path":96,"stem":97,"icon":98},"Telemetry","\u002Flogging\u002Fai-sdk\u002Ftelemetry","2.logging\u002F6.ai-sdk\u002F05.telemetry","i-lucide-activity",{"title":100,"icon":101,"path":102,"stem":103,"children":104,"page":34},"Better Auth","i-simple-icons-betterauth","\u002Flogging\u002Fbetter-auth","2.logging\u002F7.better-auth",[105,108,113,118,122],{"title":41,"path":106,"stem":107,"icon":44},"\u002Flogging\u002Fbetter-auth\u002Foverview","2.logging\u002F7.better-auth\u002F01.overview",{"title":109,"path":110,"stem":111,"icon":112},"Identify User","\u002Flogging\u002Fbetter-auth\u002Fidentify-user","2.logging\u002F7.better-auth\u002F02.identify-user","i-lucide-user-check",{"title":114,"path":115,"stem":116,"icon":117},"Middleware","\u002Flogging\u002Fbetter-auth\u002Fmiddleware","2.logging\u002F7.better-auth\u002F03.middleware","i-lucide-shield",{"title":119,"path":120,"stem":121,"icon":69},"Client Sync","\u002Flogging\u002Fbetter-auth\u002Fclient-sync","2.logging\u002F7.better-auth\u002F04.client-sync",{"title":123,"path":124,"stem":125,"icon":126},"Performance","\u002Flogging\u002Fbetter-auth\u002Fperformance","2.logging\u002F7.better-auth\u002F05.performance","i-lucide-gauge",{"title":128,"icon":129,"path":130,"stem":131,"children":132,"page":34},"Audit Logs","i-lucide-shield-check","\u002Flogging\u002Faudit","2.logging\u002F8.audit",[133,136,141,146,151,155],{"title":41,"path":134,"stem":135,"icon":44},"\u002Flogging\u002Faudit\u002Foverview","2.logging\u002F8.audit\u002F01.overview",{"title":137,"path":138,"stem":139,"icon":140},"Schema","\u002Flogging\u002Faudit\u002Fschema","2.logging\u002F8.audit\u002F02.schema","i-lucide-file-text",{"title":142,"path":143,"stem":144,"icon":145},"Recording","\u002Flogging\u002Faudit\u002Frecording","2.logging\u002F8.audit\u002F03.recording","i-lucide-pen-line",{"title":147,"path":148,"stem":149,"icon":150},"Drains","\u002Flogging\u002Faudit\u002Fpipeline","2.logging\u002F8.audit\u002F04.pipeline","i-lucide-link",{"title":152,"path":153,"stem":154,"icon":129},"Compliance","\u002Flogging\u002Faudit\u002Fcompliance","2.logging\u002F8.audit\u002F05.compliance",{"title":156,"path":157,"stem":158,"icon":64},"Recipes","\u002Flogging\u002Faudit\u002Frecipes","2.logging\u002F8.audit\u002F06.recipes",{"title":160,"path":161,"stem":162,"children":163,"page":34},"Core Concepts","\u002Fcore-concepts","3.core-concepts",[164,169,174,179,184,188,191,196],{"title":165,"path":166,"stem":167,"icon":168},"Lifecycle","\u002Fcore-concepts\u002Flifecycle","3.core-concepts\u002F0.lifecycle","i-lucide-arrow-right-left",{"title":170,"path":171,"stem":172,"icon":173},"Configuration","\u002Fcore-concepts\u002Fconfiguration","3.core-concepts\u002F1.configuration","i-lucide-settings",{"title":175,"path":176,"stem":177,"icon":178},"Sampling","\u002Fcore-concepts\u002Fsampling","3.core-concepts\u002F2.sampling","i-lucide-filter",{"title":180,"path":181,"stem":182,"icon":183},"Typed Fields","\u002Fcore-concepts\u002Ftyped-fields","3.core-concepts\u002F3.typed-fields","i-simple-icons-typescript",{"title":185,"path":186,"stem":187,"icon":129},"Best Practices","\u002Fcore-concepts\u002Fbest-practices","3.core-concepts\u002F4.best-practices",{"title":123,"path":189,"stem":190,"icon":126},"\u002Fcore-concepts\u002Fperformance","3.core-concepts\u002F5.performance",{"title":192,"path":193,"stem":194,"icon":195},"Vite Plugin","\u002Fcore-concepts\u002Fvite-plugin","3.core-concepts\u002F6.vite-plugin","i-custom-vite",{"title":197,"path":198,"stem":199,"icon":200},"Auto-Redaction","\u002Fcore-concepts\u002Fredaction","3.core-concepts\u002F7.redaction","i-lucide-eye-off",{"title":202,"path":203,"stem":204,"children":205,"page":34},"Frameworks","\u002Fframeworks","4.frameworks",[206,210,215,220,225,230,235,240,245,250,255,260,265,270,274,279,284],{"title":41,"path":207,"stem":208,"icon":209},"\u002Fframeworks\u002Foverview","4.frameworks\u002F00.overview","i-lucide-layout-grid",{"title":211,"path":212,"stem":213,"icon":214},"Nuxt","\u002Fframeworks\u002Fnuxt","4.frameworks\u002F01.nuxt","i-simple-icons-nuxtdotjs",{"title":216,"path":217,"stem":218,"icon":219},"Next.js","\u002Fframeworks\u002Fnextjs","4.frameworks\u002F02.nextjs","i-simple-icons-nextdotjs",{"title":221,"path":222,"stem":223,"icon":224},"SvelteKit","\u002Fframeworks\u002Fsveltekit","4.frameworks\u002F03.sveltekit","i-simple-icons-svelte",{"title":226,"path":227,"stem":228,"icon":229},"Nitro","\u002Fframeworks\u002Fnitro","4.frameworks\u002F04.nitro","i-custom-nitro",{"title":231,"path":232,"stem":233,"icon":234},"TanStack Start","\u002Fframeworks\u002Ftanstack-start","4.frameworks\u002F05.tanstack-start","i-custom-tanstack",{"title":236,"path":237,"stem":238,"icon":239},"NestJS","\u002Fframeworks\u002Fnestjs","4.frameworks\u002F06.nestjs","i-simple-icons-nestjs",{"title":241,"path":242,"stem":243,"icon":244},"Express","\u002Fframeworks\u002Fexpress","4.frameworks\u002F07.express","i-simple-icons-express",{"title":246,"path":247,"stem":248,"icon":249},"Hono","\u002Fframeworks\u002Fhono","4.frameworks\u002F08.hono","i-simple-icons-hono",{"title":251,"path":252,"stem":253,"icon":254},"Fastify","\u002Fframeworks\u002Ffastify","4.frameworks\u002F09.fastify","i-simple-icons-fastify",{"title":256,"path":257,"stem":258,"icon":259},"Elysia","\u002Fframeworks\u002Felysia","4.frameworks\u002F10.elysia","i-custom-elysia",{"title":261,"path":262,"stem":263,"icon":264},"React Router","\u002Fframeworks\u002Freact-router","4.frameworks\u002F11.react-router","i-custom-reactrouter",{"title":266,"path":267,"stem":268,"icon":269},"Cloudflare Workers","\u002Fframeworks\u002Fcloudflare-workers","4.frameworks\u002F12.cloudflare-workers","i-simple-icons-cloudflare",{"title":271,"path":272,"stem":273,"icon":183},"Standalone","\u002Fframeworks\u002Fstandalone","4.frameworks\u002F13.standalone",{"title":275,"path":276,"stem":277,"icon":278},"Astro","\u002Fframeworks\u002Fastro","4.frameworks\u002F14.astro","i-simple-icons-astro",{"title":280,"path":281,"stem":282,"icon":283},"AWS Lambda","\u002Fframeworks\u002Faws-lambda","4.frameworks\u002F16.aws-lambda","i-custom-lambda",{"title":285,"path":286,"stem":287,"icon":288},"Custom Integration","\u002Fframeworks\u002Fcustom-integration","4.frameworks\u002F17.custom-integration","i-lucide-puzzle",{"title":290,"path":291,"stem":292,"children":293,"page":34},"Build On Top","\u002Fbuild-on-top","5.build-on-top",[294],{"title":295,"path":296,"stem":297,"icon":298},"FS reader","\u002Fbuild-on-top\u002Ffs-reader","5.build-on-top\u002F4.fs-reader","i-lucide-folder-search",{"title":300,"path":301,"stem":302,"children":303,"page":34},"Adapters","\u002Fadapters","6.adapters",[304,307,347,362],{"title":41,"path":305,"stem":306,"icon":44},"\u002Fadapters\u002Foverview","6.adapters\u002F01.overview",{"title":308,"path":309,"stem":310,"children":311,"page":34},"Cloud destinations","\u002Fadapters\u002Fcloud","6.adapters\u002F02.cloud",[312,317,322,327,332,337,342],{"title":313,"path":314,"stem":315,"icon":316},"Axiom","\u002Fadapters\u002Fcloud\u002Faxiom","6.adapters\u002F02.cloud\u002F01.axiom","i-custom-axiom",{"title":318,"path":319,"stem":320,"icon":321},"OTLP","\u002Fadapters\u002Fcloud\u002Fotlp","6.adapters\u002F02.cloud\u002F02.otlp","i-simple-icons-opentelemetry",{"title":323,"path":324,"stem":325,"icon":326},"PostHog","\u002Fadapters\u002Fcloud\u002Fposthog","6.adapters\u002F02.cloud\u002F03.posthog","i-simple-icons-posthog",{"title":328,"path":329,"stem":330,"icon":331},"Sentry","\u002Fadapters\u002Fcloud\u002Fsentry","6.adapters\u002F02.cloud\u002F04.sentry","i-simple-icons-sentry",{"title":333,"path":334,"stem":335,"icon":336},"Better Stack","\u002Fadapters\u002Fcloud\u002Fbetter-stack","6.adapters\u002F02.cloud\u002F05.better-stack","i-simple-icons-betterstack",{"title":338,"path":339,"stem":340,"icon":341},"Datadog","\u002Fadapters\u002Fcloud\u002Fdatadog","6.adapters\u002F02.cloud\u002F06.datadog","i-simple-icons-datadog",{"title":343,"path":344,"stem":345,"icon":346},"HyperDX","\u002Fadapters\u002Fcloud\u002Fhyperdx","6.adapters\u002F02.cloud\u002F07.hyperdx","i-custom-hyperdx",{"title":348,"path":349,"stem":350,"children":351,"page":34},"Self-hosted","\u002Fadapters\u002Fself-hosted","6.adapters\u002F03.self-hosted",[352,357],{"title":353,"path":354,"stem":355,"icon":356},"File System","\u002Fadapters\u002Fself-hosted\u002Ffs","6.adapters\u002F03.self-hosted\u002F01.fs","i-lucide-hard-drive",{"title":358,"path":359,"stem":360,"icon":361},"NuxtHub","\u002Fadapters\u002Fself-hosted\u002Fnuxthub","6.adapters\u002F03.self-hosted\u002F02.nuxthub","i-simple-icons-nuxt",{"title":363,"path":364,"stem":365,"children":366,"page":34},"Building blocks","\u002Fadapters\u002Fbuilding-blocks","6.adapters\u002F04.building-blocks",[367,372,377,381],{"title":368,"path":369,"stem":370,"icon":371},"Pipeline","\u002Fadapters\u002Fbuilding-blocks\u002Fpipeline","6.adapters\u002F04.building-blocks\u002F01.pipeline","i-lucide-workflow",{"title":373,"path":374,"stem":375,"icon":376},"HTTP","\u002Fadapters\u002Fbuilding-blocks\u002Fhttp","6.adapters\u002F04.building-blocks\u002F02.http","i-lucide-globe",{"title":378,"path":379,"stem":380,"icon":83},"Custom Adapters","\u002Fadapters\u002Fbuilding-blocks\u002Fcustom","6.adapters\u002F04.building-blocks\u002F03.custom",{"title":382,"path":383,"stem":384,"icon":385},"Toolkit","\u002Fadapters\u002Fbuilding-blocks\u002Ftoolkit","6.adapters\u002F04.building-blocks\u002F04.toolkit","i-lucide-blocks",{"title":387,"path":388,"stem":389,"children":390,"page":34},"Enrichers","\u002Fenrichers","7.enrichers",[391,394,398],{"title":41,"path":392,"stem":393,"icon":28},"\u002Fenrichers\u002Foverview","7.enrichers\u002F1.overview",{"title":395,"path":396,"stem":397,"icon":288},"Built-in","\u002Fenrichers\u002Fbuilt-in","7.enrichers\u002F2.built-in",{"title":399,"path":400,"stem":401,"icon":83},"Custom","\u002Fenrichers\u002Fcustom","7.enrichers\u002F3.custom",{"id":403,"title":404,"body":405,"description":2141,"extension":2142,"links":2143,"meta":2150,"navigation":2151,"path":344,"seo":2152,"stem":345,"__hash__":2153},"docs\u002F6.adapters\u002F02.cloud\u002F07.hyperdx.md","HyperDX Adapter",{"type":406,"value":407,"toc":2118},"minimark",[408,429,471,475,478,522,525,530,550,554,576,580,1158,1161,1164,1167,1204,1208,1284,1291,1313,1326,1330,1337,1412,1418,1422,1425,1504,1518,1522,1655,1659,1672,1709,1713,1720,1732,1735,1860,1880,1884,1887,1907,1911,1915,1924,1927,1931,1943,1947,1950,2086,2090,2114],[409,410,411,417,418,422,423,428],"p",{},[412,413,343],"a",{"href":414,"rel":415},"https:\u002F\u002Fhyperdx.io",[416],"nofollow"," is an open-source observability platform. The evlog HyperDX adapter sends your wide events to HyperDX using ",[419,420,421],"strong",{},"OTLP over HTTP",", with defaults aligned to ",[412,424,427],{"href":425,"rel":426},"https:\u002F\u002Fhyperdx.io\u002Fdocs\u002Finstall\u002Fopentelemetry",[416],"HyperDX’s OpenTelemetry documentation",".",[430,431,434,437,459],"prompt",{":actions":432,"description":433,"icon":346},"[\"copy\",\"cursor\",\"windsurf\"]","Add the HyperDX drain adapter",[409,435,436],{},"Add the HyperDX drain adapter to send evlog wide events to HyperDX.",[438,439,440,444,447,450,453,456],"ol",{},[441,442,443],"li",{},"Identify which framework I'm using and follow its evlog integration pattern",[441,445,446],{},"Install evlog if not already installed",[441,448,449],{},"Import createHyperDXDrain from 'evlog\u002Fhyperdx'",[441,451,452],{},"Wire createHyperDXDrain() into my framework's drain configuration",[441,454,455],{},"Set HYPERDX_API_KEY environment variable in .env",[441,457,458],{},"Test by triggering a request and checking HyperDX",[409,460,461,462,466,467],{},"Adapter docs: ",[412,463,464],{"href":464,"rel":465},"https:\u002F\u002Fwww.evlog.dev\u002Fadapters\u002Fcloud\u002Fhyperdx",[416],"\nFramework setup: ",[412,468,469],{"href":469,"rel":470},"https:\u002F\u002Fwww.evlog.dev\u002Fframeworks",[416],[472,473,15],"h2",{"id":474},"installation",[409,476,477],{},"The HyperDX adapter comes bundled with evlog:",[479,480,486],"pre",{"className":481,"code":482,"filename":483,"language":484,"meta":485,"style":485},"language-typescript shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { createHyperDXDrain } from 'evlog\u002Fhyperdx'\n","src\u002Findex.ts","typescript","",[487,488,489],"code",{"__ignoreMap":485},[490,491,494,498,502,506,509,512,515,519],"span",{"class":492,"line":493},"line",1,[490,495,497],{"class":496},"s7zQu","import",[490,499,501],{"class":500},"sMK4o"," {",[490,503,505],{"class":504},"sTEyZ"," createHyperDXDrain",[490,507,508],{"class":500}," }",[490,510,511],{"class":496}," from",[490,513,514],{"class":500}," '",[490,516,518],{"class":517},"sfazB","evlog\u002Fhyperdx",[490,520,521],{"class":500},"'\n",[472,523,20],{"id":524},"quick-start",[526,527,529],"h3",{"id":528},"_1-get-your-ingestion-api-key","1. Get your ingestion API key",[438,531,532,539],{},[441,533,534,535,538],{},"Open the ",[412,536,343],{"href":414,"rel":537},[416]," dashboard for your team",[441,540,541,542,545,546,549],{},"Copy your ",[419,543,544],{},"ingestion API key"," (HyperDX documents this as the value for the ",[487,547,548],{},"authorization"," header in their OpenTelemetry examples)",[526,551,553],{"id":552},"_2-set-environment-variables","2. Set environment variables",[479,555,560],{"className":556,"code":557,"filename":558,"language":559,"meta":485,"style":485},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","HYPERDX_API_KEY=\u003CYOUR_HYPERDX_API_KEY_HERE>\n",".env","bash",[487,561,562],{"__ignoreMap":485},[490,563,564,567,570,573],{"class":492,"line":493},[490,565,566],{"class":504},"HYPERDX_API_KEY",[490,568,569],{"class":500},"=\u003C",[490,571,572],{"class":517},"YOUR_HYPERDX_API_KEY_HERE",[490,574,575],{"class":500},">\n",[526,577,579],{"id":578},"_3-wire-the-drain-to-your-framework","3. Wire the drain to your framework",[581,582,583,697,828,890,944,1003,1057,1110],"code-group",{},[479,584,587],{"className":481,"code":585,"filename":586,"language":484,"meta":485,"style":485},"\u002F\u002F server\u002Fplugins\u002Fevlog-drain.ts\nimport { createHyperDXDrain } from 'evlog\u002Fhyperdx'\n\nexport default defineNitroPlugin((nitroApp) => {\n  nitroApp.hooks.hook('evlog:drain', createHyperDXDrain())\n})\n","Nuxt \u002F Nitro",[487,588,589,595,614,621,653,688],{"__ignoreMap":485},[490,590,591],{"class":492,"line":493},[490,592,594],{"class":593},"sHwdD","\u002F\u002F server\u002Fplugins\u002Fevlog-drain.ts\n",[490,596,598,600,602,604,606,608,610,612],{"class":492,"line":597},2,[490,599,497],{"class":496},[490,601,501],{"class":500},[490,603,505],{"class":504},[490,605,508],{"class":500},[490,607,511],{"class":496},[490,609,514],{"class":500},[490,611,518],{"class":517},[490,613,521],{"class":500},[490,615,617],{"class":492,"line":616},3,[490,618,620],{"emptyLinePlaceholder":619},true,"\n",[490,622,624,627,630,634,637,639,643,646,650],{"class":492,"line":623},4,[490,625,626],{"class":496},"export",[490,628,629],{"class":496}," default",[490,631,633],{"class":632},"s2Zo4"," defineNitroPlugin",[490,635,636],{"class":504},"(",[490,638,636],{"class":500},[490,640,642],{"class":641},"sHdIc","nitroApp",[490,644,645],{"class":500},")",[490,647,649],{"class":648},"spNyl"," =>",[490,651,652],{"class":500}," {\n",[490,654,656,659,661,664,666,669,672,675,678,680,683,685],{"class":492,"line":655},5,[490,657,658],{"class":504},"  nitroApp",[490,660,428],{"class":500},[490,662,663],{"class":504},"hooks",[490,665,428],{"class":500},[490,667,668],{"class":632},"hook",[490,670,636],{"class":671},"swJcz",[490,673,674],{"class":500},"'",[490,676,677],{"class":517},"evlog:drain",[490,679,674],{"class":500},[490,681,682],{"class":500},",",[490,684,505],{"class":632},[490,686,687],{"class":671},"())\n",[490,689,691,694],{"class":492,"line":690},6,[490,692,693],{"class":500},"}",[490,695,696],{"class":504},")\n",[479,698,700],{"className":481,"code":699,"filename":216,"language":484,"meta":485,"style":485},"\u002F\u002F lib\u002Fevlog.ts\nimport { createEvlog } from 'evlog\u002Fnext'\nimport { createHyperDXDrain } from 'evlog\u002Fhyperdx'\n\nexport const { withEvlog, useLogger, log, createError } = createEvlog({\n  service: 'my-app',\n  drain: createHyperDXDrain(),\n})\n",[487,701,702,707,727,745,749,788,806,821],{"__ignoreMap":485},[490,703,704],{"class":492,"line":493},[490,705,706],{"class":593},"\u002F\u002F lib\u002Fevlog.ts\n",[490,708,709,711,713,716,718,720,722,725],{"class":492,"line":597},[490,710,497],{"class":496},[490,712,501],{"class":500},[490,714,715],{"class":504}," createEvlog",[490,717,508],{"class":500},[490,719,511],{"class":496},[490,721,514],{"class":500},[490,723,724],{"class":517},"evlog\u002Fnext",[490,726,521],{"class":500},[490,728,729,731,733,735,737,739,741,743],{"class":492,"line":616},[490,730,497],{"class":496},[490,732,501],{"class":500},[490,734,505],{"class":504},[490,736,508],{"class":500},[490,738,511],{"class":496},[490,740,514],{"class":500},[490,742,518],{"class":517},[490,744,521],{"class":500},[490,746,747],{"class":492,"line":623},[490,748,620],{"emptyLinePlaceholder":619},[490,750,751,753,756,758,761,763,766,768,771,773,776,778,781,783,785],{"class":492,"line":655},[490,752,626],{"class":496},[490,754,755],{"class":648}," const",[490,757,501],{"class":500},[490,759,760],{"class":504}," withEvlog",[490,762,682],{"class":500},[490,764,765],{"class":504}," useLogger",[490,767,682],{"class":500},[490,769,770],{"class":504}," log",[490,772,682],{"class":500},[490,774,775],{"class":504}," createError ",[490,777,693],{"class":500},[490,779,780],{"class":500}," =",[490,782,715],{"class":632},[490,784,636],{"class":504},[490,786,787],{"class":500},"{\n",[490,789,790,793,796,798,801,803],{"class":492,"line":690},[490,791,792],{"class":671},"  service",[490,794,795],{"class":500},":",[490,797,514],{"class":500},[490,799,800],{"class":517},"my-app",[490,802,674],{"class":500},[490,804,805],{"class":500},",\n",[490,807,809,812,814,816,819],{"class":492,"line":808},7,[490,810,811],{"class":671},"  drain",[490,813,795],{"class":500},[490,815,505],{"class":632},[490,817,818],{"class":504},"()",[490,820,805],{"class":500},[490,822,824,826],{"class":492,"line":823},8,[490,825,693],{"class":500},[490,827,696],{"class":504},[479,829,831],{"className":481,"code":830,"filename":246,"language":484,"meta":485,"style":485},"import { createHyperDXDrain } from 'evlog\u002Fhyperdx'\n\napp.use(evlog({ drain: createHyperDXDrain() }))\n",[487,832,833,851,855],{"__ignoreMap":485},[490,834,835,837,839,841,843,845,847,849],{"class":492,"line":493},[490,836,497],{"class":496},[490,838,501],{"class":500},[490,840,505],{"class":504},[490,842,508],{"class":500},[490,844,511],{"class":496},[490,846,514],{"class":500},[490,848,518],{"class":517},[490,850,521],{"class":500},[490,852,853],{"class":492,"line":597},[490,854,620],{"emptyLinePlaceholder":619},[490,856,857,860,862,865,867,870,872,875,878,880,882,885,887],{"class":492,"line":616},[490,858,859],{"class":504},"app",[490,861,428],{"class":500},[490,863,864],{"class":632},"use",[490,866,636],{"class":504},[490,868,869],{"class":632},"evlog",[490,871,636],{"class":504},[490,873,874],{"class":500},"{",[490,876,877],{"class":671}," drain",[490,879,795],{"class":500},[490,881,505],{"class":632},[490,883,884],{"class":504},"() ",[490,886,693],{"class":500},[490,888,889],{"class":504},"))\n",[479,891,892],{"className":481,"code":830,"filename":241,"language":484,"meta":485,"style":485},[487,893,894,912,916],{"__ignoreMap":485},[490,895,896,898,900,902,904,906,908,910],{"class":492,"line":493},[490,897,497],{"class":496},[490,899,501],{"class":500},[490,901,505],{"class":504},[490,903,508],{"class":500},[490,905,511],{"class":496},[490,907,514],{"class":500},[490,909,518],{"class":517},[490,911,521],{"class":500},[490,913,914],{"class":492,"line":597},[490,915,620],{"emptyLinePlaceholder":619},[490,917,918,920,922,924,926,928,930,932,934,936,938,940,942],{"class":492,"line":616},[490,919,859],{"class":504},[490,921,428],{"class":500},[490,923,864],{"class":632},[490,925,636],{"class":504},[490,927,869],{"class":632},[490,929,636],{"class":504},[490,931,874],{"class":500},[490,933,877],{"class":671},[490,935,795],{"class":500},[490,937,505],{"class":632},[490,939,884],{"class":504},[490,941,693],{"class":500},[490,943,889],{"class":504},[479,945,947],{"className":481,"code":946,"filename":251,"language":484,"meta":485,"style":485},"import { createHyperDXDrain } from 'evlog\u002Fhyperdx'\n\nawait app.register(evlog, { drain: createHyperDXDrain() })\n",[487,948,949,967,971],{"__ignoreMap":485},[490,950,951,953,955,957,959,961,963,965],{"class":492,"line":493},[490,952,497],{"class":496},[490,954,501],{"class":500},[490,956,505],{"class":504},[490,958,508],{"class":500},[490,960,511],{"class":496},[490,962,514],{"class":500},[490,964,518],{"class":517},[490,966,521],{"class":500},[490,968,969],{"class":492,"line":597},[490,970,620],{"emptyLinePlaceholder":619},[490,972,973,976,979,981,984,987,989,991,993,995,997,999,1001],{"class":492,"line":616},[490,974,975],{"class":496},"await",[490,977,978],{"class":504}," app",[490,980,428],{"class":500},[490,982,983],{"class":632},"register",[490,985,986],{"class":504},"(evlog",[490,988,682],{"class":500},[490,990,501],{"class":500},[490,992,877],{"class":671},[490,994,795],{"class":500},[490,996,505],{"class":632},[490,998,884],{"class":504},[490,1000,693],{"class":500},[490,1002,696],{"class":504},[479,1004,1005],{"className":481,"code":830,"filename":256,"language":484,"meta":485,"style":485},[487,1006,1007,1025,1029],{"__ignoreMap":485},[490,1008,1009,1011,1013,1015,1017,1019,1021,1023],{"class":492,"line":493},[490,1010,497],{"class":496},[490,1012,501],{"class":500},[490,1014,505],{"class":504},[490,1016,508],{"class":500},[490,1018,511],{"class":496},[490,1020,514],{"class":500},[490,1022,518],{"class":517},[490,1024,521],{"class":500},[490,1026,1027],{"class":492,"line":597},[490,1028,620],{"emptyLinePlaceholder":619},[490,1030,1031,1033,1035,1037,1039,1041,1043,1045,1047,1049,1051,1053,1055],{"class":492,"line":616},[490,1032,859],{"class":504},[490,1034,428],{"class":500},[490,1036,864],{"class":632},[490,1038,636],{"class":504},[490,1040,869],{"class":632},[490,1042,636],{"class":504},[490,1044,874],{"class":500},[490,1046,877],{"class":671},[490,1048,795],{"class":500},[490,1050,505],{"class":632},[490,1052,884],{"class":504},[490,1054,693],{"class":500},[490,1056,889],{"class":504},[479,1058,1060],{"className":481,"code":1059,"filename":236,"language":484,"meta":485,"style":485},"import { createHyperDXDrain } from 'evlog\u002Fhyperdx'\n\nEvlogModule.forRoot({ drain: createHyperDXDrain() })\n",[487,1061,1062,1080,1084],{"__ignoreMap":485},[490,1063,1064,1066,1068,1070,1072,1074,1076,1078],{"class":492,"line":493},[490,1065,497],{"class":496},[490,1067,501],{"class":500},[490,1069,505],{"class":504},[490,1071,508],{"class":500},[490,1073,511],{"class":496},[490,1075,514],{"class":500},[490,1077,518],{"class":517},[490,1079,521],{"class":500},[490,1081,1082],{"class":492,"line":597},[490,1083,620],{"emptyLinePlaceholder":619},[490,1085,1086,1089,1091,1094,1096,1098,1100,1102,1104,1106,1108],{"class":492,"line":616},[490,1087,1088],{"class":504},"EvlogModule",[490,1090,428],{"class":500},[490,1092,1093],{"class":632},"forRoot",[490,1095,636],{"class":504},[490,1097,874],{"class":500},[490,1099,877],{"class":671},[490,1101,795],{"class":500},[490,1103,505],{"class":632},[490,1105,884],{"class":504},[490,1107,693],{"class":500},[490,1109,696],{"class":504},[479,1111,1113],{"className":481,"code":1112,"filename":271,"language":484,"meta":485,"style":485},"import { createHyperDXDrain } from 'evlog\u002Fhyperdx'\n\ninitLogger({ drain: createHyperDXDrain() })\n",[487,1114,1115,1133,1137],{"__ignoreMap":485},[490,1116,1117,1119,1121,1123,1125,1127,1129,1131],{"class":492,"line":493},[490,1118,497],{"class":496},[490,1120,501],{"class":500},[490,1122,505],{"class":504},[490,1124,508],{"class":500},[490,1126,511],{"class":496},[490,1128,514],{"class":500},[490,1130,518],{"class":517},[490,1132,521],{"class":500},[490,1134,1135],{"class":492,"line":597},[490,1136,620],{"emptyLinePlaceholder":619},[490,1138,1139,1142,1144,1146,1148,1150,1152,1154,1156],{"class":492,"line":616},[490,1140,1141],{"class":632},"initLogger",[490,1143,636],{"class":504},[490,1145,874],{"class":500},[490,1147,877],{"class":671},[490,1149,795],{"class":500},[490,1151,505],{"class":632},[490,1153,884],{"class":504},[490,1155,693],{"class":500},[490,1157,696],{"class":504},[409,1159,1160],{},"That's it! Your wide events will now appear in HyperDX.",[472,1162,170],{"id":1163},"configuration",[409,1165,1166],{},"The adapter reads configuration from multiple sources (highest priority first):",[438,1168,1169,1178,1192],{},[441,1170,1171,1174,1175],{},[419,1172,1173],{},"Overrides"," passed to ",[487,1176,1177],{},"createHyperDXDrain()",[441,1179,1180,1183,1184,1187,1188,1191],{},[419,1181,1182],{},"Runtime config"," at ",[487,1185,1186],{},"runtimeConfig.evlog.hyperdx"," or ",[487,1189,1190],{},"runtimeConfig.hyperdx"," (Nuxt\u002FNitro only)",[441,1193,1194,1197,1198,1187,1201,645],{},[419,1195,1196],{},"Environment variables"," (",[487,1199,1200],{},"HYPERDX_*",[487,1202,1203],{},"NUXT_HYPERDX_*",[526,1205,1207],{"id":1206},"environment-variables","Environment Variables",[1209,1210,1211,1227],"table",{},[1212,1213,1214],"thead",{},[1215,1216,1217,1221,1224],"tr",{},[1218,1219,1220],"th",{},"Variable",[1218,1222,1223],{},"Nuxt alias",[1218,1225,1226],{},"Description",[1228,1229,1230,1248,1266],"tbody",{},[1215,1231,1232,1237,1242],{},[1233,1234,1235],"td",{},[487,1236,566],{},[1233,1238,1239],{},[487,1240,1241],{},"NUXT_HYPERDX_API_KEY",[1233,1243,1244,1245,1247],{},"Ingestion API key (sent as the ",[487,1246,548],{}," header)",[1215,1249,1250,1255,1260],{},[1233,1251,1252],{},[487,1253,1254],{},"HYPERDX_OTLP_ENDPOINT",[1233,1256,1257],{},[487,1258,1259],{},"NUXT_HYPERDX_OTLP_ENDPOINT",[1233,1261,1262,1263,645],{},"OTLP HTTP base URL (default: ",[487,1264,1265],{},"https:\u002F\u002Fin-otel.hyperdx.io",[1215,1267,1268,1273,1278],{},[1233,1269,1270],{},[487,1271,1272],{},"HYPERDX_SERVICE_NAME",[1233,1274,1275],{},[487,1276,1277],{},"NUXT_HYPERDX_SERVICE_NAME",[1233,1279,1280,1281],{},"Override ",[487,1282,1283],{},"service.name",[409,1285,1286,1287,1290],{},"The following variable is also read when resolving ",[487,1288,1289],{},"serviceName"," (same as the OTLP adapter):",[1209,1292,1293,1301],{},[1212,1294,1295],{},[1215,1296,1297,1299],{},[1218,1298,1220],{},[1218,1300,1226],{},[1228,1302,1303],{},[1215,1304,1305,1310],{},[1233,1306,1307],{},[487,1308,1309],{},"OTEL_SERVICE_NAME",[1233,1311,1312],{},"Fallback for service name (HyperDX SDK examples use this)",[1314,1315,1317,1318,1321,1322,1325],"callout",{"color":1316,"icon":13},"info","In Nuxt\u002FNitro, use the ",[487,1319,1320],{},"NUXT_"," prefix so values are available via ",[487,1323,1324],{},"useRuntimeConfig()",". In all other frameworks, use the unprefixed variables.",[526,1327,1329],{"id":1328},"runtime-config-nuxt-only","Runtime Config (Nuxt only)",[409,1331,1332,1333,1336],{},"Configure via ",[487,1334,1335],{},"nuxt.config.ts"," for type-safe configuration:",[479,1338,1340],{"className":481,"code":1339,"filename":1335,"language":484,"meta":485,"style":485},"export default defineNuxtConfig({\n  runtimeConfig: {\n    hyperdx: {\n      apiKey: '', \u002F\u002F Set via NUXT_HYPERDX_API_KEY\n      \u002F\u002F endpoint: '', \u002F\u002F Set via NUXT_HYPERDX_OTLP_ENDPOINT\n    },\n  },\n})\n",[487,1341,1342,1355,1364,1373,1388,1396,1401,1406],{"__ignoreMap":485},[490,1343,1344,1346,1348,1351,1353],{"class":492,"line":493},[490,1345,626],{"class":496},[490,1347,629],{"class":496},[490,1349,1350],{"class":632}," defineNuxtConfig",[490,1352,636],{"class":504},[490,1354,787],{"class":500},[490,1356,1357,1360,1362],{"class":492,"line":597},[490,1358,1359],{"class":671},"  runtimeConfig",[490,1361,795],{"class":500},[490,1363,652],{"class":500},[490,1365,1366,1369,1371],{"class":492,"line":616},[490,1367,1368],{"class":671},"    hyperdx",[490,1370,795],{"class":500},[490,1372,652],{"class":500},[490,1374,1375,1378,1380,1383,1385],{"class":492,"line":623},[490,1376,1377],{"class":671},"      apiKey",[490,1379,795],{"class":500},[490,1381,1382],{"class":500}," ''",[490,1384,682],{"class":500},[490,1386,1387],{"class":593}," \u002F\u002F Set via NUXT_HYPERDX_API_KEY\n",[490,1389,1390,1393],{"class":492,"line":655},[490,1391,1392],{"class":593},"      \u002F\u002F endpoint: '',",[490,1394,1395],{"class":593}," \u002F\u002F Set via NUXT_HYPERDX_OTLP_ENDPOINT\n",[490,1397,1398],{"class":492,"line":690},[490,1399,1400],{"class":500},"    },\n",[490,1402,1403],{"class":492,"line":808},[490,1404,1405],{"class":500},"  },\n",[490,1407,1408,1410],{"class":492,"line":823},[490,1409,693],{"class":500},[490,1411,696],{"class":504},[409,1413,1414,1415,1417],{},"You can also nest keys under ",[487,1416,1186],{},"; both match how the adapter resolves Nuxt runtime config.",[526,1419,1421],{"id":1420},"override-options","Override Options",[409,1423,1424],{},"Pass options directly to override any configuration:",[479,1426,1429],{"className":481,"code":1427,"filename":1428,"language":484,"meta":485,"style":485},"const drain = createHyperDXDrain({\n  apiKey: process.env.HYPERDX_API_KEY!,\n  endpoint: 'https:\u002F\u002Fin-otel.hyperdx.io',\n  timeout: 10000,\n})\n","server\u002Fplugins\u002Fevlog-drain.ts",[487,1430,1431,1448,1470,1485,1498],{"__ignoreMap":485},[490,1432,1433,1436,1439,1442,1444,1446],{"class":492,"line":493},[490,1434,1435],{"class":648},"const",[490,1437,1438],{"class":504}," drain ",[490,1440,1441],{"class":500},"=",[490,1443,505],{"class":632},[490,1445,636],{"class":504},[490,1447,787],{"class":500},[490,1449,1450,1453,1455,1458,1460,1463,1465,1467],{"class":492,"line":597},[490,1451,1452],{"class":671},"  apiKey",[490,1454,795],{"class":500},[490,1456,1457],{"class":504}," process",[490,1459,428],{"class":500},[490,1461,1462],{"class":504},"env",[490,1464,428],{"class":500},[490,1466,566],{"class":504},[490,1468,1469],{"class":500},"!,\n",[490,1471,1472,1475,1477,1479,1481,1483],{"class":492,"line":616},[490,1473,1474],{"class":671},"  endpoint",[490,1476,795],{"class":500},[490,1478,514],{"class":500},[490,1480,1265],{"class":517},[490,1482,674],{"class":500},[490,1484,805],{"class":500},[490,1486,1487,1490,1492,1496],{"class":492,"line":623},[490,1488,1489],{"class":671},"  timeout",[490,1491,795],{"class":500},[490,1493,1495],{"class":1494},"sbssI"," 10000",[490,1497,805],{"class":500},[490,1499,1500,1502],{"class":492,"line":655},[490,1501,693],{"class":500},[490,1503,696],{"class":504},[409,1505,1506,1507,1510,1511,1513,1514,1517],{},"For self-hosted HyperDX, set ",[487,1508,1509],{},"endpoint"," to your OTLP HTTP base URL (same role as ",[487,1512,1509],{}," in HyperDX’s ",[487,1515,1516],{},"otlphttp"," exporter example).",[526,1519,1521],{"id":1520},"full-configuration-reference","Full Configuration Reference",[1209,1523,1524,1539],{},[1212,1525,1526],{},[1215,1527,1528,1531,1534,1537],{},[1218,1529,1530],{},"Option",[1218,1532,1533],{},"Type",[1218,1535,1536],{},"Default",[1218,1538,1226],{},[1228,1540,1541,1562,1582,1599,1616,1636],{},[1215,1542,1543,1548,1553,1556],{},[1233,1544,1545],{},[487,1546,1547],{},"apiKey",[1233,1549,1550],{},[487,1551,1552],{},"string",[1233,1554,1555],{},"-",[1233,1557,1558,1559,1561],{},"Ingestion API key (required). Sent as the ",[487,1560,548],{}," header value",[1215,1563,1564,1568,1572,1576],{},[1233,1565,1566],{},[487,1567,1509],{},[1233,1569,1570],{},[487,1571,1552],{},[1233,1573,1574],{},[487,1575,1265],{},[1233,1577,1578,1579,645],{},"OTLP HTTP base URL (evlog appends ",[487,1580,1581],{},"\u002Fv1\u002Flogs",[1215,1583,1584,1588,1592,1594],{},[1233,1585,1586],{},[487,1587,1289],{},[1233,1589,1590],{},[487,1591,1552],{},[1233,1593,1555],{},[1233,1595,1280,1596,1598],{},[487,1597,1283],{}," resource attribute",[1215,1600,1601,1606,1611,1613],{},[1233,1602,1603],{},[487,1604,1605],{},"resourceAttributes",[1233,1607,1608],{},[487,1609,1610],{},"object",[1233,1612,1555],{},[1233,1614,1615],{},"Additional OTLP resource attributes",[1215,1617,1618,1623,1628,1633],{},[1233,1619,1620],{},[487,1621,1622],{},"timeout",[1233,1624,1625],{},[487,1626,1627],{},"number",[1233,1629,1630],{},[487,1631,1632],{},"5000",[1233,1634,1635],{},"Request timeout in milliseconds",[1215,1637,1638,1643,1647,1652],{},[1233,1639,1640],{},[487,1641,1642],{},"retries",[1233,1644,1645],{},[487,1646,1627],{},[1233,1648,1649],{},[487,1650,1651],{},"2",[1233,1653,1654],{},"Retry attempts on transient failures",[472,1656,1658],{"id":1657},"how-it-works","How It Works",[409,1660,1661,1662,1664,1665,1668,1669,795],{},"Under the hood, ",[487,1663,1177],{}," maps your HyperDX settings to the shared ",[412,1666,1667],{"href":319},"OTLP adapter"," and calls ",[487,1670,1671],{},"sendBatchToOTLP()",[1673,1674,1675,1687,1699],"ul",{},[441,1676,1677,1680,1681,1683,1684,645],{},[419,1678,1679],{},"Endpoint",": OTLP HTTP base URL, defaulting to ",[487,1682,1265],{}," (evlog posts to ",[487,1685,1686],{},"{endpoint}\u002Fv1\u002Flogs",[441,1688,1689,1692,1693,1695,1696,1698],{},[419,1690,1691],{},"Auth",": ",[487,1694,548],{}," header set to your API key (same as HyperDX’s documented ",[487,1697,1516],{}," exporter)",[441,1700,1701,1704,1705,1708],{},[419,1702,1703],{},"Format",": Standard OTLP JSON ",[487,1706,1707],{},"ExportLogsServiceRequest"," with severity, trace context when present, and structured attributes",[472,1710,1712],{"id":1711},"official-hyperdx-opentelemetry-reference","Official HyperDX OpenTelemetry reference",[409,1714,1715,1716,795],{},"From ",[412,1717,1719],{"href":425,"rel":1718},[416],"HyperDX — OpenTelemetry",[1721,1722,1723],"blockquote",{},[409,1724,1725,1726,1728,1729,1731],{},"Our OpenTelemetry HTTP endpoint is hosted at ",[487,1727,1265],{}," (gRPC at port 4317), and requires the ",[487,1730,548],{}," header to be set to your API key.",[409,1733,1734],{},"HyperDX documents this collector configuration (HTTP and gRPC exporters):",[479,1736,1741],{"className":1737,"code":1738,"filename":1739,"language":1740,"meta":485,"style":485},"language-yaml shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","exporters:\n  # HTTP setup\n  otlphttp\u002Fhdx:\n    endpoint: 'https:\u002F\u002Fin-otel.hyperdx.io'\n    headers:\n      authorization: \u003CYOUR_HYPERDX_API_KEY_HERE>\n    compression: gzip\n\n  # gRPC setup (alternative)\n  otlp\u002Fhdx:\n    endpoint: 'in-otel.hyperdx.io:4317'\n    headers:\n      authorization: \u003CYOUR_HYPERDX_API_KEY_HERE>\n    compression: gzip\n","OpenTelemetry HyperDX exporters","yaml",[487,1742,1743,1751,1756,1763,1776,1783,1793,1803,1807,1813,1821,1835,1842,1851],{"__ignoreMap":485},[490,1744,1745,1748],{"class":492,"line":493},[490,1746,1747],{"class":671},"exporters",[490,1749,1750],{"class":500},":\n",[490,1752,1753],{"class":492,"line":597},[490,1754,1755],{"class":593},"  # HTTP setup\n",[490,1757,1758,1761],{"class":492,"line":616},[490,1759,1760],{"class":671},"  otlphttp\u002Fhdx",[490,1762,1750],{"class":500},[490,1764,1765,1768,1770,1772,1774],{"class":492,"line":623},[490,1766,1767],{"class":671},"    endpoint",[490,1769,795],{"class":500},[490,1771,514],{"class":500},[490,1773,1265],{"class":517},[490,1775,521],{"class":500},[490,1777,1778,1781],{"class":492,"line":655},[490,1779,1780],{"class":671},"    headers",[490,1782,1750],{"class":500},[490,1784,1785,1788,1790],{"class":492,"line":690},[490,1786,1787],{"class":671},"      authorization",[490,1789,795],{"class":500},[490,1791,1792],{"class":517}," \u003CYOUR_HYPERDX_API_KEY_HERE>\n",[490,1794,1795,1798,1800],{"class":492,"line":808},[490,1796,1797],{"class":671},"    compression",[490,1799,795],{"class":500},[490,1801,1802],{"class":517}," gzip\n",[490,1804,1805],{"class":492,"line":823},[490,1806,620],{"emptyLinePlaceholder":619},[490,1808,1810],{"class":492,"line":1809},9,[490,1811,1812],{"class":593},"  # gRPC setup (alternative)\n",[490,1814,1816,1819],{"class":492,"line":1815},10,[490,1817,1818],{"class":671},"  otlp\u002Fhdx",[490,1820,1750],{"class":500},[490,1822,1824,1826,1828,1830,1833],{"class":492,"line":1823},11,[490,1825,1767],{"class":671},[490,1827,795],{"class":500},[490,1829,514],{"class":500},[490,1831,1832],{"class":517},"in-otel.hyperdx.io:4317",[490,1834,521],{"class":500},[490,1836,1838,1840],{"class":492,"line":1837},12,[490,1839,1780],{"class":671},[490,1841,1750],{"class":500},[490,1843,1845,1847,1849],{"class":492,"line":1844},13,[490,1846,1787],{"class":671},[490,1848,795],{"class":500},[490,1850,1792],{"class":517},[490,1852,1854,1856,1858],{"class":492,"line":1853},14,[490,1855,1797],{"class":671},[490,1857,795],{"class":500},[490,1859,1802],{"class":517},[409,1861,1862,1863,1865,1866,1868,1869,1872,1873,1875,1876,1879],{},"evlog uses the ",[419,1864,373],{}," path: JSON to ",[487,1867,1686],{}," with ",[487,1870,1871],{},"Content-Type: application\u002Fjson"," and the ",[487,1874,548],{}," header above. The collector may enable ",[487,1877,1878],{},"compression: gzip","; evlog sends uncompressed JSON bodies like typical OTLP HTTP clients.",[472,1881,1883],{"id":1882},"querying-logs-in-hyperdx","Querying logs in HyperDX",[409,1885,1886],{},"Use the HyperDX UI to search and explore wide events:",[1673,1888,1889,1895,1901],{},[441,1890,1891,1894],{},[419,1892,1893],{},"Search",": Filter by fields from your wide events (level, service, path, custom attributes, etc.)",[441,1896,1897,1900],{},[419,1898,1899],{},"Live tail",": Stream incoming logs",[441,1902,1903,1906],{},[419,1904,1905],{},"Dashboards",": Build views on top of structured log data",[472,1908,1910],{"id":1909},"troubleshooting","Troubleshooting",[526,1912,1914],{"id":1913},"missing-apikey-error","Missing apiKey error",[479,1916,1922],{"className":1917,"code":1919,"filename":1920,"language":1921,"meta":485},[1918],"language-text","[evlog\u002Fhyperdx] Missing apiKey. Set HYPERDX_API_KEY or NUXT_HYPERDX_API_KEY, or pass to createHyperDXDrain()\n","Console","text",[487,1923,1919],{"__ignoreMap":485},[409,1925,1926],{},"Make sure your environment variables are set and the server was restarted after adding them.",[526,1928,1930],{"id":1929},"_401-unauthorized-or-ingest-rejected","401 Unauthorized or ingest rejected",[409,1932,1933,1934,1938,1939,1942],{},"Your API key may be invalid or not permitted to ingest. Confirm the key in HyperDX matches the ingestion key used in their ",[412,1935,1937],{"href":425,"rel":1936},[416],"OpenTelemetry"," examples (",[487,1940,1941],{},"authorization: \u003CYOUR_HYPERDX_API_KEY_HERE>",").",[472,1944,1946],{"id":1945},"direct-api-usage","Direct API Usage",[409,1948,1949],{},"For advanced use cases, you can use the lower-level functions:",[479,1951,1954],{"className":481,"code":1952,"filename":1953,"language":484,"meta":485,"style":485},"import { sendToHyperDX, sendBatchToHyperDX } from 'evlog\u002Fhyperdx'\n\n\u002F\u002F Send a single event\nawait sendToHyperDX(event, {\n  apiKey: process.env.HYPERDX_API_KEY!,\n})\n\n\u002F\u002F Send multiple events in one request\nawait sendBatchToHyperDX(events, {\n  apiKey: process.env.HYPERDX_API_KEY!,\n  endpoint: 'https:\u002F\u002Fin-otel.hyperdx.io',\n})\n","server\u002Futils\u002Fhyperdx.ts",[487,1955,1956,1980,1984,1989,2002,2020,2026,2030,2035,2048,2066,2080],{"__ignoreMap":485},[490,1957,1958,1960,1962,1965,1967,1970,1972,1974,1976,1978],{"class":492,"line":493},[490,1959,497],{"class":496},[490,1961,501],{"class":500},[490,1963,1964],{"class":504}," sendToHyperDX",[490,1966,682],{"class":500},[490,1968,1969],{"class":504}," sendBatchToHyperDX",[490,1971,508],{"class":500},[490,1973,511],{"class":496},[490,1975,514],{"class":500},[490,1977,518],{"class":517},[490,1979,521],{"class":500},[490,1981,1982],{"class":492,"line":597},[490,1983,620],{"emptyLinePlaceholder":619},[490,1985,1986],{"class":492,"line":616},[490,1987,1988],{"class":593},"\u002F\u002F Send a single event\n",[490,1990,1991,1993,1995,1998,2000],{"class":492,"line":623},[490,1992,975],{"class":496},[490,1994,1964],{"class":632},[490,1996,1997],{"class":504},"(event",[490,1999,682],{"class":500},[490,2001,652],{"class":500},[490,2003,2004,2006,2008,2010,2012,2014,2016,2018],{"class":492,"line":655},[490,2005,1452],{"class":671},[490,2007,795],{"class":500},[490,2009,1457],{"class":504},[490,2011,428],{"class":500},[490,2013,1462],{"class":504},[490,2015,428],{"class":500},[490,2017,566],{"class":504},[490,2019,1469],{"class":500},[490,2021,2022,2024],{"class":492,"line":690},[490,2023,693],{"class":500},[490,2025,696],{"class":504},[490,2027,2028],{"class":492,"line":808},[490,2029,620],{"emptyLinePlaceholder":619},[490,2031,2032],{"class":492,"line":823},[490,2033,2034],{"class":593},"\u002F\u002F Send multiple events in one request\n",[490,2036,2037,2039,2041,2044,2046],{"class":492,"line":1809},[490,2038,975],{"class":496},[490,2040,1969],{"class":632},[490,2042,2043],{"class":504},"(events",[490,2045,682],{"class":500},[490,2047,652],{"class":500},[490,2049,2050,2052,2054,2056,2058,2060,2062,2064],{"class":492,"line":1815},[490,2051,1452],{"class":671},[490,2053,795],{"class":500},[490,2055,1457],{"class":504},[490,2057,428],{"class":500},[490,2059,1462],{"class":504},[490,2061,428],{"class":500},[490,2063,566],{"class":504},[490,2065,1469],{"class":500},[490,2067,2068,2070,2072,2074,2076,2078],{"class":492,"line":1823},[490,2069,1474],{"class":671},[490,2071,795],{"class":500},[490,2073,514],{"class":500},[490,2075,1265],{"class":517},[490,2077,674],{"class":500},[490,2079,805],{"class":500},[490,2081,2082,2084],{"class":492,"line":1837},[490,2083,693],{"class":500},[490,2085,696],{"class":504},[472,2087,2089],{"id":2088},"next-steps","Next Steps",[1673,2091,2092,2098,2104,2109],{},[441,2093,2094,2097],{},[412,2095,2096],{"href":319},"OTLP Adapter"," - Send logs via OpenTelemetry Protocol to any OTLP backend",[441,2099,2100,2103],{},[412,2101,2102],{"href":324},"PostHog Adapter"," - Send logs to PostHog Logs via OTLP",[441,2105,2106,2108],{},[412,2107,378],{"href":379}," - Build your own adapter",[441,2110,2111,2113],{},[412,2112,185],{"href":186}," - Security and production tips",[2115,2116,2117],"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 .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);}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--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 .sHdIc, html code.shiki .sHdIc{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}",{"title":485,"searchDepth":597,"depth":597,"links":2119},[2120,2121,2126,2132,2133,2134,2135,2139,2140],{"id":474,"depth":597,"text":15},{"id":524,"depth":597,"text":20,"children":2122},[2123,2124,2125],{"id":528,"depth":616,"text":529},{"id":552,"depth":616,"text":553},{"id":578,"depth":616,"text":579},{"id":1163,"depth":597,"text":170,"children":2127},[2128,2129,2130,2131],{"id":1206,"depth":616,"text":1207},{"id":1328,"depth":616,"text":1329},{"id":1420,"depth":616,"text":1421},{"id":1520,"depth":616,"text":1521},{"id":1657,"depth":597,"text":1658},{"id":1711,"depth":597,"text":1712},{"id":1882,"depth":597,"text":1883},{"id":1909,"depth":597,"text":1910,"children":2136},[2137,2138],{"id":1913,"depth":616,"text":1914},{"id":1929,"depth":616,"text":1930},{"id":1945,"depth":597,"text":1946},{"id":2088,"depth":597,"text":2089},"Send wide events to HyperDX via OTLP\u002FHTTP using HyperDX’s documented OpenTelemetry endpoint and authorization header. Zero-config setup with environment variables.","md",[2144,2149],{"label":343,"icon":2145,"to":414,"target":2146,"color":2147,"variant":2148},"i-lucide-external-link","_blank","neutral","subtle",{"label":2096,"icon":321,"to":319,"color":2147,"variant":2148},{},{"title":343,"icon":346},{"title":404,"description":2141},"PQTSx8LPy2YX3IF4VKXytXDGxTlwPk2BSpFbLuBWxjk",[2155,2157],{"title":338,"path":339,"stem":340,"description":2156,"icon":341,"children":-1},"Send wide events to Datadog Logs via the native HTTP intake API. Supports all Datadog sites and DD_* environment variables.",{"title":353,"path":354,"stem":355,"description":2158,"icon":356,"children":-1},"Write wide events to the local file system as NDJSON for local debugging, AI agent integration, and production backup.",1778325971118]