[{"data":1,"prerenderedAt":2731},["ShallowReactive",2],{"navigation_docs":3,"-integrate-adapters-cloud-posthog":439,"-integrate-adapters-cloud-posthog-surround":2726},[4,30,80,245,353,408],{"title":5,"path":6,"stem":7,"children":8,"page":29},"Start","\u002Fstart","1.start",[9,14,19,24],{"title":10,"path":11,"stem":12,"icon":13},"Introduction","\u002Fstart\u002Fintroduction","1.start\u002F1.introduction","i-lucide-info",{"title":15,"path":16,"stem":17,"icon":18},"Why start with evlog","\u002Fstart\u002Fwhy-evlog","1.start\u002F2.why-evlog","i-lucide-rocket",{"title":20,"path":21,"stem":22,"icon":23},"Installation","\u002Fstart\u002Finstallation","1.start\u002F3.installation","i-lucide-download",{"title":25,"path":26,"stem":27,"icon":28},"Quick Start","\u002Fstart\u002Fquick-start","1.start\u002F4.quick-start","i-lucide-zap",false,{"title":31,"path":32,"stem":33,"children":34,"page":29},"Learn","\u002Flearn","2.learn",[35,40,45,50,55,60,65,70,75],{"title":36,"path":37,"stem":38,"icon":39},"Overview","\u002Flearn\u002Foverview","2.learn\u002F0.overview","i-lucide-list",{"title":41,"path":42,"stem":43,"icon":44},"Simple Logging","\u002Flearn\u002Fsimple-logging","2.learn\u002F1.simple-logging","i-lucide-terminal",{"title":46,"path":47,"stem":48,"icon":49},"Wide Events","\u002Flearn\u002Fwide-events","2.learn\u002F2.wide-events","i-lucide-layers",{"title":51,"path":52,"stem":53,"icon":54},"Structured Errors","\u002Flearn\u002Fstructured-errors","2.learn\u002F3.structured-errors","i-lucide-shield-alert",{"title":56,"path":57,"stem":58,"icon":59},"Lifecycle","\u002Flearn\u002Flifecycle","2.learn\u002F4.lifecycle","i-lucide-arrow-right-left",{"title":61,"path":62,"stem":63,"icon":64},"Sampling","\u002Flearn\u002Fsampling","2.learn\u002F5.sampling","i-lucide-filter",{"title":66,"path":67,"stem":68,"icon":69},"Auto-Redaction","\u002Flearn\u002Fredaction","2.learn\u002F6.redaction","i-lucide-eye-off",{"title":71,"path":72,"stem":73,"icon":74},"Typed Fields","\u002Flearn\u002Ftyped-fields","2.learn\u002F7.typed-fields","i-simple-icons-typescript",{"title":76,"path":77,"stem":78,"icon":79},"Catalogs","\u002Flearn\u002Fcatalogs","2.learn\u002F8.catalogs","i-lucide-book-open",{"title":81,"path":82,"stem":83,"children":84,"page":29},"Integrate","\u002Fintegrate","3.integrate",[85,89,157],{"title":36,"path":86,"stem":87,"icon":88},"\u002Fintegrate\u002Foverview","3.integrate\u002F0.overview","i-lucide-plug",{"title":90,"path":91,"stem":92,"children":93,"page":29},"Adapters","\u002Fintegrate\u002Fadapters","3.integrate\u002Fadapters",[94,97,137],{"title":36,"path":95,"stem":96,"icon":39},"\u002Fintegrate\u002Fadapters\u002Foverview","3.integrate\u002Fadapters\u002F01.overview",{"title":98,"path":99,"stem":100,"children":101,"page":29},"Cloud","\u002Fintegrate\u002Fadapters\u002Fcloud","3.integrate\u002Fadapters\u002Fcloud",[102,107,112,117,122,127,132],{"title":103,"path":104,"stem":105,"icon":106},"Axiom","\u002Fintegrate\u002Fadapters\u002Fcloud\u002Faxiom","3.integrate\u002Fadapters\u002Fcloud\u002F01.axiom","i-custom-axiom",{"title":108,"path":109,"stem":110,"icon":111},"OTLP","\u002Fintegrate\u002Fadapters\u002Fcloud\u002Fotlp","3.integrate\u002Fadapters\u002Fcloud\u002F02.otlp","i-simple-icons-opentelemetry",{"title":113,"path":114,"stem":115,"icon":116},"PostHog","\u002Fintegrate\u002Fadapters\u002Fcloud\u002Fposthog","3.integrate\u002Fadapters\u002Fcloud\u002F03.posthog","i-simple-icons-posthog",{"title":118,"path":119,"stem":120,"icon":121},"Sentry","\u002Fintegrate\u002Fadapters\u002Fcloud\u002Fsentry","3.integrate\u002Fadapters\u002Fcloud\u002F04.sentry","i-simple-icons-sentry",{"title":123,"path":124,"stem":125,"icon":126},"Better Stack","\u002Fintegrate\u002Fadapters\u002Fcloud\u002Fbetter-stack","3.integrate\u002Fadapters\u002Fcloud\u002F05.better-stack","i-simple-icons-betterstack",{"title":128,"path":129,"stem":130,"icon":131},"Datadog","\u002Fintegrate\u002Fadapters\u002Fcloud\u002Fdatadog","3.integrate\u002Fadapters\u002Fcloud\u002F06.datadog","i-simple-icons-datadog",{"title":133,"path":134,"stem":135,"icon":136},"HyperDX","\u002Fintegrate\u002Fadapters\u002Fcloud\u002Fhyperdx","3.integrate\u002Fadapters\u002Fcloud\u002F07.hyperdx","i-custom-hyperdx",{"title":138,"path":139,"stem":140,"children":141,"page":29},"Self-Hosted","\u002Fintegrate\u002Fadapters\u002Fself-hosted","3.integrate\u002Fadapters\u002Fself-hosted",[142,147,152],{"title":143,"path":144,"stem":145,"icon":146},"File System","\u002Fintegrate\u002Fadapters\u002Fself-hosted\u002Ffs","3.integrate\u002Fadapters\u002Fself-hosted\u002F01.fs","i-lucide-hard-drive",{"title":148,"path":149,"stem":150,"icon":151},"NuxtHub","\u002Fintegrate\u002Fadapters\u002Fself-hosted\u002Fnuxthub","3.integrate\u002Fadapters\u002Fself-hosted\u002F02.nuxthub","i-simple-icons-nuxt",{"title":153,"path":154,"stem":155,"icon":156},"Memory","\u002Fintegrate\u002Fadapters\u002Fself-hosted\u002Fmemory","3.integrate\u002Fadapters\u002Fself-hosted\u002F03.memory","i-lucide-cpu",{"title":158,"path":159,"stem":160,"children":161,"page":29},"Frameworks","\u002Fintegrate\u002Fframeworks","3.integrate\u002Fframeworks",[162,166,171,176,181,186,191,196,201,206,211,216,221,226,230,235,240],{"title":36,"path":163,"stem":164,"icon":165},"\u002Fintegrate\u002Fframeworks\u002Foverview","3.integrate\u002Fframeworks\u002F00.overview","i-lucide-layout-grid",{"title":167,"path":168,"stem":169,"icon":170},"Nuxt","\u002Fintegrate\u002Fframeworks\u002Fnuxt","3.integrate\u002Fframeworks\u002F01.nuxt","i-simple-icons-nuxtdotjs",{"title":172,"path":173,"stem":174,"icon":175},"Next.js","\u002Fintegrate\u002Fframeworks\u002Fnextjs","3.integrate\u002Fframeworks\u002F02.nextjs","i-simple-icons-nextdotjs",{"title":177,"path":178,"stem":179,"icon":180},"SvelteKit","\u002Fintegrate\u002Fframeworks\u002Fsveltekit","3.integrate\u002Fframeworks\u002F03.sveltekit","i-simple-icons-svelte",{"title":182,"path":183,"stem":184,"icon":185},"Nitro","\u002Fintegrate\u002Fframeworks\u002Fnitro","3.integrate\u002Fframeworks\u002F04.nitro","i-custom-nitro",{"title":187,"path":188,"stem":189,"icon":190},"TanStack Start","\u002Fintegrate\u002Fframeworks\u002Ftanstack-start","3.integrate\u002Fframeworks\u002F05.tanstack-start","i-custom-tanstack",{"title":192,"path":193,"stem":194,"icon":195},"NestJS","\u002Fintegrate\u002Fframeworks\u002Fnestjs","3.integrate\u002Fframeworks\u002F06.nestjs","i-simple-icons-nestjs",{"title":197,"path":198,"stem":199,"icon":200},"Express","\u002Fintegrate\u002Fframeworks\u002Fexpress","3.integrate\u002Fframeworks\u002F07.express","i-simple-icons-express",{"title":202,"path":203,"stem":204,"icon":205},"Hono","\u002Fintegrate\u002Fframeworks\u002Fhono","3.integrate\u002Fframeworks\u002F08.hono","i-simple-icons-hono",{"title":207,"path":208,"stem":209,"icon":210},"Fastify","\u002Fintegrate\u002Fframeworks\u002Ffastify","3.integrate\u002Fframeworks\u002F09.fastify","i-simple-icons-fastify",{"title":212,"path":213,"stem":214,"icon":215},"Elysia","\u002Fintegrate\u002Fframeworks\u002Felysia","3.integrate\u002Fframeworks\u002F10.elysia","i-custom-elysia",{"title":217,"path":218,"stem":219,"icon":220},"React Router","\u002Fintegrate\u002Fframeworks\u002Freact-router","3.integrate\u002Fframeworks\u002F11.react-router","i-custom-reactrouter",{"title":222,"path":223,"stem":224,"icon":225},"Cloudflare Workers","\u002Fintegrate\u002Fframeworks\u002Fcloudflare-workers","3.integrate\u002Fframeworks\u002F12.cloudflare-workers","i-simple-icons-cloudflare",{"title":227,"path":228,"stem":229,"icon":74},"Standalone","\u002Fintegrate\u002Fframeworks\u002Fstandalone","3.integrate\u002Fframeworks\u002F13.standalone",{"title":231,"path":232,"stem":233,"icon":234},"Astro","\u002Fintegrate\u002Fframeworks\u002Fastro","3.integrate\u002Fframeworks\u002F14.astro","i-simple-icons-astro",{"title":236,"path":237,"stem":238,"icon":239},"oRPC","\u002Fintegrate\u002Fframeworks\u002Forpc","3.integrate\u002Fframeworks\u002F15.orpc","i-lucide-network",{"title":241,"path":242,"stem":243,"icon":244},"AWS Lambda","\u002Fintegrate\u002Fframeworks\u002Faws-lambda","3.integrate\u002Fframeworks\u002F16.aws-lambda","i-custom-lambda",{"title":246,"path":247,"stem":248,"children":249,"page":29},"Use Cases","\u002Fuse-cases","4.use-cases",[250,254,259,288,316,348],{"title":36,"path":251,"stem":252,"icon":253},"\u002Fuse-cases\u002Foverview","4.use-cases\u002F0.overview","i-lucide-list-checks",{"title":255,"path":256,"stem":257,"icon":258},"Client Logging","\u002Fuse-cases\u002Fclient-logging","4.use-cases\u002F1.client-logging","i-lucide-monitor",{"title":260,"icon":261,"path":262,"stem":263,"children":264,"page":29},"AI SDK","i-simple-icons-vercel","\u002Fuse-cases\u002Fai-sdk","4.use-cases\u002F2.ai-sdk",[265,268,273,278,283],{"title":36,"path":266,"stem":267,"icon":39},"\u002Fuse-cases\u002Fai-sdk\u002Foverview","4.use-cases\u002F2.ai-sdk\u002F01.overview",{"title":269,"path":270,"stem":271,"icon":272},"Usage","\u002Fuse-cases\u002Fai-sdk\u002Fusage","4.use-cases\u002F2.ai-sdk\u002F02.usage","i-lucide-code",{"title":274,"path":275,"stem":276,"icon":277},"Options","\u002Fuse-cases\u002Fai-sdk\u002Foptions","4.use-cases\u002F2.ai-sdk\u002F03.options","i-lucide-sliders",{"title":279,"path":280,"stem":281,"icon":282},"Metadata","\u002Fuse-cases\u002Fai-sdk\u002Fmetadata","4.use-cases\u002F2.ai-sdk\u002F04.metadata","i-lucide-database",{"title":284,"path":285,"stem":286,"icon":287},"Telemetry","\u002Fuse-cases\u002Fai-sdk\u002Ftelemetry","4.use-cases\u002F2.ai-sdk\u002F05.telemetry","i-lucide-activity",{"title":289,"icon":290,"path":291,"stem":292,"children":293,"page":29},"Better Auth","i-simple-icons-betterauth","\u002Fuse-cases\u002Fbetter-auth","4.use-cases\u002F3.better-auth",[294,297,302,307,311],{"title":36,"path":295,"stem":296,"icon":39},"\u002Fuse-cases\u002Fbetter-auth\u002Foverview","4.use-cases\u002F3.better-auth\u002F01.overview",{"title":298,"path":299,"stem":300,"icon":301},"Identify User","\u002Fuse-cases\u002Fbetter-auth\u002Fidentify-user","4.use-cases\u002F3.better-auth\u002F02.identify-user","i-lucide-user-check",{"title":303,"path":304,"stem":305,"icon":306},"Middleware","\u002Fuse-cases\u002Fbetter-auth\u002Fmiddleware","4.use-cases\u002F3.better-auth\u002F03.middleware","i-lucide-shield",{"title":308,"path":309,"stem":310,"icon":258},"Client Sync","\u002Fuse-cases\u002Fbetter-auth\u002Fclient-sync","4.use-cases\u002F3.better-auth\u002F04.client-sync",{"title":312,"path":313,"stem":314,"icon":315},"Performance","\u002Fuse-cases\u002Fbetter-auth\u002Fperformance","4.use-cases\u002F3.better-auth\u002F05.performance","i-lucide-gauge",{"title":317,"icon":318,"path":319,"stem":320,"children":321,"page":29},"Audit Logs","i-lucide-shield-check","\u002Fuse-cases\u002Faudit","4.use-cases\u002F4.audit",[322,325,330,335,340,344],{"title":36,"path":323,"stem":324,"icon":39},"\u002Fuse-cases\u002Faudit\u002Foverview","4.use-cases\u002F4.audit\u002F01.overview",{"title":326,"path":327,"stem":328,"icon":329},"Schema","\u002Fuse-cases\u002Faudit\u002Fschema","4.use-cases\u002F4.audit\u002F02.schema","i-lucide-file-text",{"title":331,"path":332,"stem":333,"icon":334},"Recording","\u002Fuse-cases\u002Faudit\u002Frecording","4.use-cases\u002F4.audit\u002F03.recording","i-lucide-pen-line",{"title":336,"path":337,"stem":338,"icon":339},"Drains","\u002Fuse-cases\u002Faudit\u002Fpipeline","4.use-cases\u002F4.audit\u002F04.pipeline","i-lucide-link",{"title":341,"path":342,"stem":343,"icon":318},"Compliance","\u002Fuse-cases\u002Faudit\u002Fcompliance","4.use-cases\u002F4.audit\u002F05.compliance",{"title":345,"path":346,"stem":347,"icon":79},"Recipes","\u002Fuse-cases\u002Faudit\u002Frecipes","4.use-cases\u002F4.audit\u002F06.recipes",{"title":349,"path":350,"stem":351,"icon":352},"Enrichers","\u002Fuse-cases\u002Fenrichers","4.use-cases\u002F5.enrichers","i-lucide-sparkles",{"title":354,"path":355,"stem":356,"children":357,"page":29},"Extend","\u002Fextend","5.extend",[358,362,367,372,377,381,385,389,393,398,403],{"title":36,"path":359,"stem":360,"icon":361},"\u002Fextend\u002Foverview","5.extend\u002F0.overview","i-lucide-blocks",{"title":363,"path":364,"stem":365,"icon":366},"Stream","\u002Fextend\u002Fstream","5.extend\u002F1.stream","i-lucide-radio-tower",{"title":368,"path":369,"stem":370,"icon":371},"Custom framework","\u002Fextend\u002Fcustom-framework","5.extend\u002F10.custom-framework","i-lucide-puzzle",{"title":373,"path":374,"stem":375,"icon":376},"FS reader","\u002Fextend\u002Ffs-reader","5.extend\u002F2.fs-reader","i-lucide-folder-search",{"title":345,"path":378,"stem":379,"icon":380},"\u002Fextend\u002Fconsumer-recipes","5.extend\u002F3.consumer-recipes","i-lucide-chef-hat",{"title":382,"path":383,"stem":384,"icon":361},"Plugins","\u002Fextend\u002Fplugins","5.extend\u002F4.plugins",{"title":386,"path":387,"stem":388,"icon":352},"Custom enrichers","\u002Fextend\u002Fcustom-enrichers","5.extend\u002F5.custom-enrichers",{"title":390,"path":391,"stem":392,"icon":64},"Tail sampling","\u002Fextend\u002Ftail-sampling","5.extend\u002F6.tail-sampling",{"title":394,"path":395,"stem":396,"icon":397},"Identity headers","\u002Fextend\u002Fidentity-headers","5.extend\u002F7.identity-headers","i-lucide-fingerprint",{"title":399,"path":400,"stem":401,"icon":402},"Custom drains","\u002Fextend\u002Fcustom-drains","5.extend\u002F8.custom-drains","i-lucide-share-2",{"title":404,"path":405,"stem":406,"icon":407},"Drain pipeline","\u002Fextend\u002Fdrain-pipeline","5.extend\u002F9.drain-pipeline","i-lucide-workflow",{"title":409,"path":410,"stem":411,"children":412,"page":29},"Reference","\u002Freference","6.reference",[413,418,421,426,430,435],{"title":414,"path":415,"stem":416,"icon":417},"Configuration","\u002Freference\u002Fconfiguration","6.reference\u002F1.configuration","i-lucide-settings",{"title":312,"path":419,"stem":420,"icon":315},"\u002Freference\u002Fperformance","6.reference\u002F2.performance",{"title":422,"path":423,"stem":424,"icon":425},"Vite Plugin","\u002Freference\u002Fvite-plugin","6.reference\u002F3.vite-plugin","i-custom-vite",{"title":427,"path":428,"stem":429,"icon":318},"Best Practices","\u002Freference\u002Fbest-practices","6.reference\u002F4.best-practices",{"title":431,"path":432,"stem":433,"icon":434},"vs Other Loggers","\u002Freference\u002Fvs-other-loggers","6.reference\u002F5.vs-other-loggers","i-lucide-scale",{"title":436,"path":437,"stem":438,"icon":352},"Agent Skills","\u002Freference\u002Fagent-skills","6.reference\u002F6.agent-skills",{"id":440,"title":441,"body":442,"description":2712,"extension":2713,"links":2714,"meta":2722,"navigation":2723,"path":114,"seo":2724,"stem":115,"__hash__":2725},"docs\u002F3.integrate\u002Fadapters\u002Fcloud\u002F03.posthog.md","PostHog Adapter",{"type":443,"value":444,"toc":2682},"minimark",[445,461,506,510,513,557,560,565,596,600,619,623,1201,1204,1207,1210,1244,1248,1302,1306,1313,1394,1398,1401,1458,1462,1538,1542,1552,1584,1588,1594,1634,1662,1666,1673,1686,1690,1699,1794,1805,1813,1829,1833,1937,1941,1944,2032,2036,2042,2068,2072,2147,2150,2290,2294,2298,2307,2310,2314,2317,2337,2341,2347,2360,2364,2367,2486,2489,2649,2653,2678],[446,447,448,454,455,460],"p",{},[449,450,113],"a",{"href":451,"rel":452},"https:\u002F\u002Fposthog.com",[453],"nofollow"," is an open-source product analytics platform. The evlog PostHog adapter sends your wide events to ",[449,456,459],{"href":457,"rel":458},"https:\u002F\u002Fposthog.com\u002Fdocs\u002Flogs",[453],"PostHog Logs"," via the standard OTLP format, giving you a dedicated log viewer with filtering, search, and tail mode using your existing PostHog API key.",[462,463,466,469,494],"prompt",{":actions":464,"description":465,"icon":116},"[\"copy\",\"cursor\",\"windsurf\"]","Add the PostHog drain adapter",[446,467,468],{},"Add the PostHog drain adapter to send evlog wide events to PostHog Logs.",[470,471,472,476,479,482,485,488,491],"ol",{},[473,474,475],"li",{},"Identify which framework I'm using and follow its evlog integration pattern",[473,477,478],{},"Install evlog if not already installed",[473,480,481],{},"Import createPostHogDrain from 'evlog\u002Fposthog'",[473,483,484],{},"Wire createPostHogDrain() into my framework's drain configuration",[473,486,487],{},"Set POSTHOG_API_KEY environment variable",[473,489,490],{},"Optionally set POSTHOG_HOST for EU or self-hosted instances",[473,492,493],{},"Test by triggering a request and checking PostHog > Logs",[446,495,496,497,501,502],{},"Adapter docs: ",[449,498,499],{"href":499,"rel":500},"https:\u002F\u002Fwww.evlog.dev\u002Fintegrate\u002Fadapters\u002Fcloud\u002Fposthog",[453],"\nFramework setup: ",[449,503,504],{"href":504,"rel":505},"https:\u002F\u002Fwww.evlog.dev\u002Fintegrate\u002Fframeworks\u002Foverview",[453],[507,508,20],"h2",{"id":509},"installation",[446,511,512],{},"The PostHog adapter comes bundled with evlog:",[514,515,521],"pre",{"className":516,"code":517,"filename":518,"language":519,"meta":520,"style":520},"language-typescript shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { createPostHogDrain } from 'evlog\u002Fposthog'\n","src\u002Findex.ts","typescript","",[522,523,524],"code",{"__ignoreMap":520},[525,526,529,533,537,541,544,547,550,554],"span",{"class":527,"line":528},"line",1,[525,530,532],{"class":531},"s7zQu","import",[525,534,536],{"class":535},"sMK4o"," {",[525,538,540],{"class":539},"sTEyZ"," createPostHogDrain",[525,542,543],{"class":535}," }",[525,545,546],{"class":531}," from",[525,548,549],{"class":535}," '",[525,551,553],{"class":552},"sfazB","evlog\u002Fposthog",[525,555,556],{"class":535},"'\n",[507,558,25],{"id":559},"quick-start",[561,562,564],"h3",{"id":563},"_1-get-your-posthog-project-api-key","1. Get your PostHog project API key",[470,566,567,575,589],{},[473,568,569,570],{},"Log in to your ",[449,571,574],{"href":572,"rel":573},"https:\u002F\u002Fapp.posthog.com",[453],"PostHog dashboard",[473,576,577,578,582,583,582,586],{},"Go to ",[579,580,581],"strong",{},"Settings"," > ",[579,584,585],{},"Project",[579,587,588],{},"Project API Key",[473,590,591,592,595],{},"Copy the key (starts with ",[522,593,594],{},"phc_",")",[561,597,599],{"id":598},"_2-set-environment-variables","2. Set environment variables",[514,601,606],{"className":602,"code":603,"filename":604,"language":605,"meta":520,"style":520},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","POSTHOG_API_KEY=phc_your-project-api-key\n",".env","bash",[522,607,608],{"__ignoreMap":520},[525,609,610,613,616],{"class":527,"line":528},[525,611,612],{"class":539},"POSTHOG_API_KEY",[525,614,615],{"class":535},"=",[525,617,618],{"class":552},"phc_your-project-api-key\n",[561,620,622],{"id":621},"_3-wire-the-drain-to-your-framework","3. Wire the drain to your framework",[624,625,626,740,871,933,987,1046,1100,1153],"code-group",{},[514,627,630],{"className":516,"code":628,"filename":629,"language":519,"meta":520,"style":520},"\u002F\u002F server\u002Fplugins\u002Fevlog-drain.ts\nimport { createPostHogDrain } from 'evlog\u002Fposthog'\n\nexport default defineNitroPlugin((nitroApp) => {\n  nitroApp.hooks.hook('evlog:drain', createPostHogDrain())\n})\n","Nuxt \u002F Nitro",[522,631,632,638,657,664,695,731],{"__ignoreMap":520},[525,633,634],{"class":527,"line":528},[525,635,637],{"class":636},"sHwdD","\u002F\u002F server\u002Fplugins\u002Fevlog-drain.ts\n",[525,639,641,643,645,647,649,651,653,655],{"class":527,"line":640},2,[525,642,532],{"class":531},[525,644,536],{"class":535},[525,646,540],{"class":539},[525,648,543],{"class":535},[525,650,546],{"class":531},[525,652,549],{"class":535},[525,654,553],{"class":552},[525,656,556],{"class":535},[525,658,660],{"class":527,"line":659},3,[525,661,663],{"emptyLinePlaceholder":662},true,"\n",[525,665,667,670,673,677,680,682,686,688,692],{"class":527,"line":666},4,[525,668,669],{"class":531},"export",[525,671,672],{"class":531}," default",[525,674,676],{"class":675},"s2Zo4"," defineNitroPlugin",[525,678,679],{"class":539},"(",[525,681,679],{"class":535},[525,683,685],{"class":684},"sHdIc","nitroApp",[525,687,595],{"class":535},[525,689,691],{"class":690},"spNyl"," =>",[525,693,694],{"class":535}," {\n",[525,696,698,701,704,707,709,712,715,718,721,723,726,728],{"class":527,"line":697},5,[525,699,700],{"class":539},"  nitroApp",[525,702,703],{"class":535},".",[525,705,706],{"class":539},"hooks",[525,708,703],{"class":535},[525,710,711],{"class":675},"hook",[525,713,679],{"class":714},"swJcz",[525,716,717],{"class":535},"'",[525,719,720],{"class":552},"evlog:drain",[525,722,717],{"class":535},[525,724,725],{"class":535},",",[525,727,540],{"class":675},[525,729,730],{"class":714},"())\n",[525,732,734,737],{"class":527,"line":733},6,[525,735,736],{"class":535},"}",[525,738,739],{"class":539},")\n",[514,741,743],{"className":516,"code":742,"filename":172,"language":519,"meta":520,"style":520},"\u002F\u002F lib\u002Fevlog.ts\nimport { createEvlog } from 'evlog\u002Fnext'\nimport { createPostHogDrain } from 'evlog\u002Fposthog'\n\nexport const { withEvlog, useLogger, log, createError } = createEvlog({\n  service: 'my-app',\n  drain: createPostHogDrain(),\n})\n",[522,744,745,750,770,788,792,831,849,864],{"__ignoreMap":520},[525,746,747],{"class":527,"line":528},[525,748,749],{"class":636},"\u002F\u002F lib\u002Fevlog.ts\n",[525,751,752,754,756,759,761,763,765,768],{"class":527,"line":640},[525,753,532],{"class":531},[525,755,536],{"class":535},[525,757,758],{"class":539}," createEvlog",[525,760,543],{"class":535},[525,762,546],{"class":531},[525,764,549],{"class":535},[525,766,767],{"class":552},"evlog\u002Fnext",[525,769,556],{"class":535},[525,771,772,774,776,778,780,782,784,786],{"class":527,"line":659},[525,773,532],{"class":531},[525,775,536],{"class":535},[525,777,540],{"class":539},[525,779,543],{"class":535},[525,781,546],{"class":531},[525,783,549],{"class":535},[525,785,553],{"class":552},[525,787,556],{"class":535},[525,789,790],{"class":527,"line":666},[525,791,663],{"emptyLinePlaceholder":662},[525,793,794,796,799,801,804,806,809,811,814,816,819,821,824,826,828],{"class":527,"line":697},[525,795,669],{"class":531},[525,797,798],{"class":690}," const",[525,800,536],{"class":535},[525,802,803],{"class":539}," withEvlog",[525,805,725],{"class":535},[525,807,808],{"class":539}," useLogger",[525,810,725],{"class":535},[525,812,813],{"class":539}," log",[525,815,725],{"class":535},[525,817,818],{"class":539}," createError ",[525,820,736],{"class":535},[525,822,823],{"class":535}," =",[525,825,758],{"class":675},[525,827,679],{"class":539},[525,829,830],{"class":535},"{\n",[525,832,833,836,839,841,844,846],{"class":527,"line":733},[525,834,835],{"class":714},"  service",[525,837,838],{"class":535},":",[525,840,549],{"class":535},[525,842,843],{"class":552},"my-app",[525,845,717],{"class":535},[525,847,848],{"class":535},",\n",[525,850,852,855,857,859,862],{"class":527,"line":851},7,[525,853,854],{"class":714},"  drain",[525,856,838],{"class":535},[525,858,540],{"class":675},[525,860,861],{"class":539},"()",[525,863,848],{"class":535},[525,865,867,869],{"class":527,"line":866},8,[525,868,736],{"class":535},[525,870,739],{"class":539},[514,872,874],{"className":516,"code":873,"filename":202,"language":519,"meta":520,"style":520},"import { createPostHogDrain } from 'evlog\u002Fposthog'\n\napp.use(evlog({ drain: createPostHogDrain() }))\n",[522,875,876,894,898],{"__ignoreMap":520},[525,877,878,880,882,884,886,888,890,892],{"class":527,"line":528},[525,879,532],{"class":531},[525,881,536],{"class":535},[525,883,540],{"class":539},[525,885,543],{"class":535},[525,887,546],{"class":531},[525,889,549],{"class":535},[525,891,553],{"class":552},[525,893,556],{"class":535},[525,895,896],{"class":527,"line":640},[525,897,663],{"emptyLinePlaceholder":662},[525,899,900,903,905,908,910,913,915,918,921,923,925,928,930],{"class":527,"line":659},[525,901,902],{"class":539},"app",[525,904,703],{"class":535},[525,906,907],{"class":675},"use",[525,909,679],{"class":539},[525,911,912],{"class":675},"evlog",[525,914,679],{"class":539},[525,916,917],{"class":535},"{",[525,919,920],{"class":714}," drain",[525,922,838],{"class":535},[525,924,540],{"class":675},[525,926,927],{"class":539},"() ",[525,929,736],{"class":535},[525,931,932],{"class":539},"))\n",[514,934,935],{"className":516,"code":873,"filename":197,"language":519,"meta":520,"style":520},[522,936,937,955,959],{"__ignoreMap":520},[525,938,939,941,943,945,947,949,951,953],{"class":527,"line":528},[525,940,532],{"class":531},[525,942,536],{"class":535},[525,944,540],{"class":539},[525,946,543],{"class":535},[525,948,546],{"class":531},[525,950,549],{"class":535},[525,952,553],{"class":552},[525,954,556],{"class":535},[525,956,957],{"class":527,"line":640},[525,958,663],{"emptyLinePlaceholder":662},[525,960,961,963,965,967,969,971,973,975,977,979,981,983,985],{"class":527,"line":659},[525,962,902],{"class":539},[525,964,703],{"class":535},[525,966,907],{"class":675},[525,968,679],{"class":539},[525,970,912],{"class":675},[525,972,679],{"class":539},[525,974,917],{"class":535},[525,976,920],{"class":714},[525,978,838],{"class":535},[525,980,540],{"class":675},[525,982,927],{"class":539},[525,984,736],{"class":535},[525,986,932],{"class":539},[514,988,990],{"className":516,"code":989,"filename":207,"language":519,"meta":520,"style":520},"import { createPostHogDrain } from 'evlog\u002Fposthog'\n\nawait app.register(evlog, { drain: createPostHogDrain() })\n",[522,991,992,1010,1014],{"__ignoreMap":520},[525,993,994,996,998,1000,1002,1004,1006,1008],{"class":527,"line":528},[525,995,532],{"class":531},[525,997,536],{"class":535},[525,999,540],{"class":539},[525,1001,543],{"class":535},[525,1003,546],{"class":531},[525,1005,549],{"class":535},[525,1007,553],{"class":552},[525,1009,556],{"class":535},[525,1011,1012],{"class":527,"line":640},[525,1013,663],{"emptyLinePlaceholder":662},[525,1015,1016,1019,1022,1024,1027,1030,1032,1034,1036,1038,1040,1042,1044],{"class":527,"line":659},[525,1017,1018],{"class":531},"await",[525,1020,1021],{"class":539}," app",[525,1023,703],{"class":535},[525,1025,1026],{"class":675},"register",[525,1028,1029],{"class":539},"(evlog",[525,1031,725],{"class":535},[525,1033,536],{"class":535},[525,1035,920],{"class":714},[525,1037,838],{"class":535},[525,1039,540],{"class":675},[525,1041,927],{"class":539},[525,1043,736],{"class":535},[525,1045,739],{"class":539},[514,1047,1048],{"className":516,"code":873,"filename":212,"language":519,"meta":520,"style":520},[522,1049,1050,1068,1072],{"__ignoreMap":520},[525,1051,1052,1054,1056,1058,1060,1062,1064,1066],{"class":527,"line":528},[525,1053,532],{"class":531},[525,1055,536],{"class":535},[525,1057,540],{"class":539},[525,1059,543],{"class":535},[525,1061,546],{"class":531},[525,1063,549],{"class":535},[525,1065,553],{"class":552},[525,1067,556],{"class":535},[525,1069,1070],{"class":527,"line":640},[525,1071,663],{"emptyLinePlaceholder":662},[525,1073,1074,1076,1078,1080,1082,1084,1086,1088,1090,1092,1094,1096,1098],{"class":527,"line":659},[525,1075,902],{"class":539},[525,1077,703],{"class":535},[525,1079,907],{"class":675},[525,1081,679],{"class":539},[525,1083,912],{"class":675},[525,1085,679],{"class":539},[525,1087,917],{"class":535},[525,1089,920],{"class":714},[525,1091,838],{"class":535},[525,1093,540],{"class":675},[525,1095,927],{"class":539},[525,1097,736],{"class":535},[525,1099,932],{"class":539},[514,1101,1103],{"className":516,"code":1102,"filename":192,"language":519,"meta":520,"style":520},"import { createPostHogDrain } from 'evlog\u002Fposthog'\n\nEvlogModule.forRoot({ drain: createPostHogDrain() })\n",[522,1104,1105,1123,1127],{"__ignoreMap":520},[525,1106,1107,1109,1111,1113,1115,1117,1119,1121],{"class":527,"line":528},[525,1108,532],{"class":531},[525,1110,536],{"class":535},[525,1112,540],{"class":539},[525,1114,543],{"class":535},[525,1116,546],{"class":531},[525,1118,549],{"class":535},[525,1120,553],{"class":552},[525,1122,556],{"class":535},[525,1124,1125],{"class":527,"line":640},[525,1126,663],{"emptyLinePlaceholder":662},[525,1128,1129,1132,1134,1137,1139,1141,1143,1145,1147,1149,1151],{"class":527,"line":659},[525,1130,1131],{"class":539},"EvlogModule",[525,1133,703],{"class":535},[525,1135,1136],{"class":675},"forRoot",[525,1138,679],{"class":539},[525,1140,917],{"class":535},[525,1142,920],{"class":714},[525,1144,838],{"class":535},[525,1146,540],{"class":675},[525,1148,927],{"class":539},[525,1150,736],{"class":535},[525,1152,739],{"class":539},[514,1154,1156],{"className":516,"code":1155,"filename":227,"language":519,"meta":520,"style":520},"import { createPostHogDrain } from 'evlog\u002Fposthog'\n\ninitLogger({ drain: createPostHogDrain() })\n",[522,1157,1158,1176,1180],{"__ignoreMap":520},[525,1159,1160,1162,1164,1166,1168,1170,1172,1174],{"class":527,"line":528},[525,1161,532],{"class":531},[525,1163,536],{"class":535},[525,1165,540],{"class":539},[525,1167,543],{"class":535},[525,1169,546],{"class":531},[525,1171,549],{"class":535},[525,1173,553],{"class":552},[525,1175,556],{"class":535},[525,1177,1178],{"class":527,"line":640},[525,1179,663],{"emptyLinePlaceholder":662},[525,1181,1182,1185,1187,1189,1191,1193,1195,1197,1199],{"class":527,"line":659},[525,1183,1184],{"class":675},"initLogger",[525,1186,679],{"class":539},[525,1188,917],{"class":535},[525,1190,920],{"class":714},[525,1192,838],{"class":535},[525,1194,540],{"class":675},[525,1196,927],{"class":539},[525,1198,736],{"class":535},[525,1200,739],{"class":539},[446,1202,1203],{},"That's it! Your wide events will now appear in PostHog Logs with full OTLP structure including severity levels, trace context, and structured attributes.",[507,1205,414],{"id":1206},"configuration",[446,1208,1209],{},"The adapter reads configuration from multiple sources (highest priority first):",[470,1211,1212,1221,1231],{},[473,1213,1214,1217,1218],{},[579,1215,1216],{},"Overrides"," passed to ",[522,1219,1220],{},"createPostHogDrain()",[473,1222,1223,1226,1227,1230],{},[579,1224,1225],{},"Runtime config"," at ",[522,1228,1229],{},"runtimeConfig.posthog"," (Nuxt\u002FNitro only)",[473,1232,1233,1236,1237,1240,1241,595],{},[579,1234,1235],{},"Environment variables"," (",[522,1238,1239],{},"POSTHOG_*"," or ",[522,1242,1243],{},"NUXT_POSTHOG_*",[561,1245,1247],{"id":1246},"environment-variables","Environment Variables",[1249,1250,1251,1267],"table",{},[1252,1253,1254],"thead",{},[1255,1256,1257,1261,1264],"tr",{},[1258,1259,1260],"th",{},"Variable",[1258,1262,1263],{},"Nuxt alias",[1258,1265,1266],{},"Description",[1268,1269,1270,1287],"tbody",{},[1255,1271,1272,1277,1282],{},[1273,1274,1275],"td",{},[522,1276,612],{},[1273,1278,1279],{},[522,1280,1281],{},"NUXT_POSTHOG_API_KEY",[1273,1283,1284,1285,595],{},"Project API key (starts with ",[522,1286,594],{},[1255,1288,1289,1294,1299],{},[1273,1290,1291],{},[522,1292,1293],{},"POSTHOG_HOST",[1273,1295,1296],{},[522,1297,1298],{},"NUXT_POSTHOG_HOST",[1273,1300,1301],{},"PostHog host URL (for EU or self-hosted)",[561,1303,1305],{"id":1304},"runtime-config-nuxt-only","Runtime Config (Nuxt only)",[446,1307,1308,1309,1312],{},"Configure via ",[522,1310,1311],{},"nuxt.config.ts"," for type-safe configuration:",[514,1314,1316],{"className":516,"code":1315,"filename":1311,"language":519,"meta":520,"style":520},"export default defineNuxtConfig({\n  runtimeConfig: {\n    posthog: {\n      apiKey: '', \u002F\u002F Set via NUXT_POSTHOG_API_KEY\n      host: '', \u002F\u002F Set via NUXT_POSTHOG_HOST\n    },\n  },\n})\n",[522,1317,1318,1331,1340,1349,1364,1378,1383,1388],{"__ignoreMap":520},[525,1319,1320,1322,1324,1327,1329],{"class":527,"line":528},[525,1321,669],{"class":531},[525,1323,672],{"class":531},[525,1325,1326],{"class":675}," defineNuxtConfig",[525,1328,679],{"class":539},[525,1330,830],{"class":535},[525,1332,1333,1336,1338],{"class":527,"line":640},[525,1334,1335],{"class":714},"  runtimeConfig",[525,1337,838],{"class":535},[525,1339,694],{"class":535},[525,1341,1342,1345,1347],{"class":527,"line":659},[525,1343,1344],{"class":714},"    posthog",[525,1346,838],{"class":535},[525,1348,694],{"class":535},[525,1350,1351,1354,1356,1359,1361],{"class":527,"line":666},[525,1352,1353],{"class":714},"      apiKey",[525,1355,838],{"class":535},[525,1357,1358],{"class":535}," ''",[525,1360,725],{"class":535},[525,1362,1363],{"class":636}," \u002F\u002F Set via NUXT_POSTHOG_API_KEY\n",[525,1365,1366,1369,1371,1373,1375],{"class":527,"line":697},[525,1367,1368],{"class":714},"      host",[525,1370,838],{"class":535},[525,1372,1358],{"class":535},[525,1374,725],{"class":535},[525,1376,1377],{"class":636}," \u002F\u002F Set via NUXT_POSTHOG_HOST\n",[525,1379,1380],{"class":527,"line":733},[525,1381,1382],{"class":535},"    },\n",[525,1384,1385],{"class":527,"line":851},[525,1386,1387],{"class":535},"  },\n",[525,1389,1390,1392],{"class":527,"line":866},[525,1391,736],{"class":535},[525,1393,739],{"class":539},[561,1395,1397],{"id":1396},"override-options","Override Options",[446,1399,1400],{},"Pass options directly to override any configuration:",[514,1402,1405],{"className":516,"code":1403,"filename":1404,"language":519,"meta":520,"style":520},"const drain = createPostHogDrain({\n  host: 'https:\u002F\u002Feu.i.posthog.com',\n  timeout: 10000,\n})\n","server\u002Fplugins\u002Fevlog-drain.ts",[522,1406,1407,1423,1439,1452],{"__ignoreMap":520},[525,1408,1409,1412,1415,1417,1419,1421],{"class":527,"line":528},[525,1410,1411],{"class":690},"const",[525,1413,1414],{"class":539}," drain ",[525,1416,615],{"class":535},[525,1418,540],{"class":675},[525,1420,679],{"class":539},[525,1422,830],{"class":535},[525,1424,1425,1428,1430,1432,1435,1437],{"class":527,"line":640},[525,1426,1427],{"class":714},"  host",[525,1429,838],{"class":535},[525,1431,549],{"class":535},[525,1433,1434],{"class":552},"https:\u002F\u002Feu.i.posthog.com",[525,1436,717],{"class":535},[525,1438,848],{"class":535},[525,1440,1441,1444,1446,1450],{"class":527,"line":659},[525,1442,1443],{"class":714},"  timeout",[525,1445,838],{"class":535},[525,1447,1449],{"class":1448},"sbssI"," 10000",[525,1451,848],{"class":535},[525,1453,1454,1456],{"class":527,"line":666},[525,1455,736],{"class":535},[525,1457,739],{"class":539},[561,1459,1461],{"id":1460},"full-configuration-reference","Full Configuration Reference",[1249,1463,1464,1479],{},[1252,1465,1466],{},[1255,1467,1468,1471,1474,1477],{},[1258,1469,1470],{},"Option",[1258,1472,1473],{},"Type",[1258,1475,1476],{},"Default",[1258,1478,1266],{},[1268,1480,1481,1499,1518],{},[1255,1482,1483,1488,1493,1496],{},[1273,1484,1485],{},[522,1486,1487],{},"apiKey",[1273,1489,1490],{},[522,1491,1492],{},"string",[1273,1494,1495],{},"-",[1273,1497,1498],{},"Project API key (required)",[1255,1500,1501,1506,1510,1515],{},[1273,1502,1503],{},[522,1504,1505],{},"host",[1273,1507,1508],{},[522,1509,1492],{},[1273,1511,1512],{},[522,1513,1514],{},"https:\u002F\u002Fus.i.posthog.com",[1273,1516,1517],{},"PostHog host URL",[1255,1519,1520,1525,1530,1535],{},[1273,1521,1522],{},[522,1523,1524],{},"timeout",[1273,1526,1527],{},[522,1528,1529],{},"number",[1273,1531,1532],{},[522,1533,1534],{},"5000",[1273,1536,1537],{},"Request timeout in milliseconds",[507,1539,1541],{"id":1540},"how-it-works","How It Works",[446,1543,1544,1545,1547,1548,1551],{},"Under the hood, ",[522,1546,1220],{}," wraps the OTLP adapter's ",[522,1549,1550],{},"sendBatchToOTLP()"," with PostHog-specific defaults:",[1553,1554,1555,1565,1574],"ul",{},[473,1556,1557,1560,1561,1564],{},[579,1558,1559],{},"Endpoint",": ",[522,1562,1563],{},"{host}\u002Fi\u002Fv1\u002Flogs"," (PostHog's OTLP log ingest endpoint)",[473,1566,1567,1560,1570,1573],{},[579,1568,1569],{},"Auth",[522,1571,1572],{},"Authorization: Bearer {apiKey}"," header",[473,1575,1576,1579,1580,1583],{},[579,1577,1578],{},"Format",": Standard OTLP ",[522,1581,1582],{},"ExportLogsServiceRequest"," with severity levels, trace context, and structured attributes",[507,1585,1587],{"id":1586},"regions","Regions",[446,1589,1590,1591,1593],{},"PostHog offers US and EU cloud hosting. Set the ",[522,1592,1505],{}," to match your region:",[1249,1595,1596,1606],{},[1252,1597,1598],{},[1255,1599,1600,1603],{},[1258,1601,1602],{},"Region",[1258,1604,1605],{},"Host",[1268,1607,1608,1617,1626],{},[1255,1609,1610,1613],{},[1273,1611,1612],{},"US (default)",[1273,1614,1615],{},[522,1616,1514],{},[1255,1618,1619,1622],{},[1273,1620,1621],{},"EU",[1273,1623,1624],{},[522,1625,1434],{},[1255,1627,1628,1631],{},[1273,1629,1630],{},"Self-hosted",[1273,1632,1633],{},"Your instance URL",[514,1635,1637],{"className":602,"code":1636,"filename":604,"language":605,"meta":520,"style":520},"# EU region\nPOSTHOG_API_KEY=phc_xxx\nPOSTHOG_HOST=https:\u002F\u002Feu.i.posthog.com\n",[522,1638,1639,1644,1653],{"__ignoreMap":520},[525,1640,1641],{"class":527,"line":528},[525,1642,1643],{"class":636},"# EU region\n",[525,1645,1646,1648,1650],{"class":527,"line":640},[525,1647,612],{"class":539},[525,1649,615],{"class":535},[525,1651,1652],{"class":552},"phc_xxx\n",[525,1654,1655,1657,1659],{"class":527,"line":659},[525,1656,1293],{"class":539},[525,1658,615],{"class":535},[525,1660,1661],{"class":552},"https:\u002F\u002Feu.i.posthog.com\n",[507,1663,1665],{"id":1664},"querying-logs-in-posthog","Querying Logs in PostHog",[446,1667,1668,1669,1672],{},"Once your logs are flowing, use the ",[579,1670,1671],{},"Logs"," tab in PostHog to query them:",[470,1674,1675,1680,1683],{},[473,1676,577,1677,1679],{},[579,1678,1671],{}," and filter by service, severity, or any structured attribute",[473,1681,1682],{},"Use the search bar to find specific log entries",[473,1684,1685],{},"Click on a log entry to see all structured attributes",[507,1687,1689],{"id":1688},"posthog-events-custom-events","PostHog Events (Custom Events)",[446,1691,1692,1693,1695,1696,838],{},"If you prefer sending logs as PostHog custom events (e.g., for product analytics, cohorts, or funnels), use ",[522,1694,1220],{}," with ",[522,1697,1698],{},"mode: 'events'",[514,1700,1702],{"className":516,"code":1701,"filename":1404,"language":519,"meta":520,"style":520},"import { createPostHogDrain } from 'evlog\u002Fposthog'\n\nconst drain = createPostHogDrain({\n  mode: 'events',\n  eventName: 'server_request',\n  distinctId: 'my-backend-service',\n})\n",[522,1703,1704,1722,1726,1740,1756,1772,1788],{"__ignoreMap":520},[525,1705,1706,1708,1710,1712,1714,1716,1718,1720],{"class":527,"line":528},[525,1707,532],{"class":531},[525,1709,536],{"class":535},[525,1711,540],{"class":539},[525,1713,543],{"class":535},[525,1715,546],{"class":531},[525,1717,549],{"class":535},[525,1719,553],{"class":552},[525,1721,556],{"class":535},[525,1723,1724],{"class":527,"line":640},[525,1725,663],{"emptyLinePlaceholder":662},[525,1727,1728,1730,1732,1734,1736,1738],{"class":527,"line":659},[525,1729,1411],{"class":690},[525,1731,1414],{"class":539},[525,1733,615],{"class":535},[525,1735,540],{"class":675},[525,1737,679],{"class":539},[525,1739,830],{"class":535},[525,1741,1742,1745,1747,1749,1752,1754],{"class":527,"line":666},[525,1743,1744],{"class":714},"  mode",[525,1746,838],{"class":535},[525,1748,549],{"class":535},[525,1750,1751],{"class":552},"events",[525,1753,717],{"class":535},[525,1755,848],{"class":535},[525,1757,1758,1761,1763,1765,1768,1770],{"class":527,"line":697},[525,1759,1760],{"class":714},"  eventName",[525,1762,838],{"class":535},[525,1764,549],{"class":535},[525,1766,1767],{"class":552},"server_request",[525,1769,717],{"class":535},[525,1771,848],{"class":535},[525,1773,1774,1777,1779,1781,1784,1786],{"class":527,"line":733},[525,1775,1776],{"class":714},"  distinctId",[525,1778,838],{"class":535},[525,1780,549],{"class":535},[525,1782,1783],{"class":552},"my-backend-service",[525,1785,717],{"class":535},[525,1787,848],{"class":535},[525,1789,1790,1792],{"class":527,"line":851},[525,1791,736],{"class":535},[525,1793,739],{"class":539},[446,1795,1796,1797,1800,1801,1804],{},"Then pass ",[522,1798,1799],{},"drain"," to your framework the same way as the default logs drain (see ",[449,1802,25],{"href":1803},"#quick-start"," above).",[1806,1807,1809,1810,1812],"callout",{"color":1808,"icon":13},"info","Custom events count towards your PostHog event quota. PostHog Logs (the default ",[522,1811,1220],{},") is significantly cheaper.",[1806,1814,1817,1820,1821,1824,1825,1828],{"color":1815,"icon":1816},"warning","i-lucide-triangle-alert",[579,1818,1819],{},"Legacy:"," ",[522,1822,1823],{},"createPostHogEventsDrain()"," is deprecated and re-routes to ",[522,1826,1827],{},"createPostHogDrain({ mode: 'events' })",". It will be removed in the next major release.",[561,1830,1832],{"id":1831},"events-configuration","Events Configuration",[1249,1834,1835,1847],{},[1252,1836,1837],{},[1255,1838,1839,1841,1843,1845],{},[1258,1840,1470],{},[1258,1842,1473],{},[1258,1844,1476],{},[1258,1846,1266],{},[1268,1848,1849,1863,1879,1898,1921],{},[1255,1850,1851,1855,1859,1861],{},[1273,1852,1853],{},[522,1854,1487],{},[1273,1856,1857],{},[522,1858,1492],{},[1273,1860,1495],{},[1273,1862,1498],{},[1255,1864,1865,1869,1873,1877],{},[1273,1866,1867],{},[522,1868,1505],{},[1273,1870,1871],{},[522,1872,1492],{},[1273,1874,1875],{},[522,1876,1514],{},[1273,1878,1517],{},[1255,1880,1881,1886,1890,1895],{},[1273,1882,1883],{},[522,1884,1885],{},"eventName",[1273,1887,1888],{},[522,1889,1492],{},[1273,1891,1892],{},[522,1893,1894],{},"evlog_wide_event",[1273,1896,1897],{},"PostHog event name",[1255,1899,1900,1905,1909,1914],{},[1273,1901,1902],{},[522,1903,1904],{},"distinctId",[1273,1906,1907],{},[522,1908,1492],{},[1273,1910,1911],{},[522,1912,1913],{},"event.service",[1273,1915,1916,1917,1920],{},"Override ",[522,1918,1919],{},"distinct_id"," for all events",[1255,1922,1923,1927,1931,1935],{},[1273,1924,1925],{},[522,1926,1524],{},[1273,1928,1929],{},[522,1930,1529],{},[1273,1932,1933],{},[522,1934,1534],{},[1273,1936,1537],{},[561,1938,1940],{"id":1939},"event-format","Event Format",[446,1942,1943],{},"evlog maps wide events to PostHog events:",[1249,1945,1946,1956],{},[1252,1947,1948],{},[1255,1949,1950,1953],{},[1258,1951,1952],{},"evlog Field",[1258,1954,1955],{},"PostHog Field",[1268,1957,1958,1976,1987,1999,2010,2022],{},[1255,1959,1960,1971],{},[1273,1961,1962,1240,1965,1240,1968],{},[522,1963,1964],{},"config.distinctId",[522,1966,1967],{},"userId",[522,1969,1970],{},"service",[1273,1972,1973,1975],{},[522,1974,1919],{}," (fallback chain)",[1255,1977,1978,1983],{},[1273,1979,1980],{},[522,1981,1982],{},"timestamp",[1273,1984,1985],{},[522,1986,1982],{},[1255,1988,1989,1994],{},[1273,1990,1991],{},[522,1992,1993],{},"level",[1273,1995,1996],{},[522,1997,1998],{},"properties.level",[1255,2000,2001,2005],{},[1273,2002,2003],{},[522,2004,1970],{},[1273,2006,2007],{},[522,2008,2009],{},"properties.service",[1255,2011,2012,2017],{},[1273,2013,2014],{},[522,2015,2016],{},"environment",[1273,2018,2019],{},[522,2020,2021],{},"properties.environment",[1255,2023,2024,2027],{},[1273,2025,2026],{},"All other fields",[1273,2028,2029],{},[522,2030,2031],{},"properties.*",[561,2033,2035],{"id":2034},"distinct-id-resolution","Distinct ID Resolution",[446,2037,2038,2039,2041],{},"The ",[522,2040,1919],{}," follows a fallback chain:",[470,2043,2044,2053,2061],{},[473,2045,2046,2050,2051],{},[579,2047,2048],{},[522,2049,1964],{}," - explicit override in ",[522,2052,1827],{},[473,2054,2055,2060],{},[579,2056,2057],{},[522,2058,2059],{},"event.userId"," - automatically picked up if present as a string",[473,2062,2063,2067],{},[579,2064,2065],{},[522,2066,1913],{}," - final fallback",[561,2069,2071],{"id":2070},"logs-vs-events","Logs vs Events",[1249,2073,2074,2088],{},[1252,2075,2076],{},[1255,2077,2078,2080,2084],{},[1258,2079],{},[1258,2081,2082],{},[522,2083,1220],{},[1258,2085,2086],{},[522,2087,1827],{},[1268,2089,2090,2108,2121,2134],{},[1255,2091,2092,2096,2102],{},[1273,2093,2094],{},[579,2095,1578],{},[1273,2097,2098,2099,595],{},"OTLP Logs (",[522,2100,2101],{},"\u002Fi\u002Fv1\u002Flogs",[1273,2103,2104,2105,595],{},"PostHog Events (",[522,2106,2107],{},"\u002Fbatch\u002F",[1255,2109,2110,2115,2118],{},[1273,2111,2112],{},[579,2113,2114],{},"PostHog UI",[1273,2116,2117],{},"Logs viewer",[1273,2119,2120],{},"Events explorer",[1255,2122,2123,2128,2131],{},[1273,2124,2125],{},[579,2126,2127],{},"Cost",[1273,2129,2130],{},"Lower (dedicated logs pipeline)",[1273,2132,2133],{},"Higher (counts as events)",[1255,2135,2136,2141,2144],{},[1273,2137,2138],{},[579,2139,2140],{},"Best for",[1273,2142,2143],{},"Debugging, log search, observability",[1273,2145,2146],{},"Product analytics, cohorts, funnels",[446,2148,2149],{},"You can use both drains simultaneously to get the best of both worlds:",[514,2151,2153],{"className":516,"code":2152,"filename":1404,"language":519,"meta":520,"style":520},"import { createPostHogDrain } from 'evlog\u002Fposthog'\n\nconst logs = createPostHogDrain()\nconst events = createPostHogDrain({ mode: 'events' })\n\nconst drain = async (ctx) => {\n  await Promise.allSettled([logs(ctx), events(ctx)])\n}\n",[522,2154,2155,2173,2177,2191,2221,2225,2247,2285],{"__ignoreMap":520},[525,2156,2157,2159,2161,2163,2165,2167,2169,2171],{"class":527,"line":528},[525,2158,532],{"class":531},[525,2160,536],{"class":535},[525,2162,540],{"class":539},[525,2164,543],{"class":535},[525,2166,546],{"class":531},[525,2168,549],{"class":535},[525,2170,553],{"class":552},[525,2172,556],{"class":535},[525,2174,2175],{"class":527,"line":640},[525,2176,663],{"emptyLinePlaceholder":662},[525,2178,2179,2181,2184,2186,2188],{"class":527,"line":659},[525,2180,1411],{"class":690},[525,2182,2183],{"class":539}," logs ",[525,2185,615],{"class":535},[525,2187,540],{"class":675},[525,2189,2190],{"class":539},"()\n",[525,2192,2193,2195,2198,2200,2202,2204,2206,2209,2211,2213,2215,2217,2219],{"class":527,"line":666},[525,2194,1411],{"class":690},[525,2196,2197],{"class":539}," events ",[525,2199,615],{"class":535},[525,2201,540],{"class":675},[525,2203,679],{"class":539},[525,2205,917],{"class":535},[525,2207,2208],{"class":714}," mode",[525,2210,838],{"class":535},[525,2212,549],{"class":535},[525,2214,1751],{"class":552},[525,2216,717],{"class":535},[525,2218,543],{"class":535},[525,2220,739],{"class":539},[525,2222,2223],{"class":527,"line":697},[525,2224,663],{"emptyLinePlaceholder":662},[525,2226,2227,2229,2231,2233,2236,2238,2241,2243,2245],{"class":527,"line":733},[525,2228,1411],{"class":690},[525,2230,1414],{"class":539},[525,2232,615],{"class":535},[525,2234,2235],{"class":690}," async",[525,2237,1236],{"class":535},[525,2239,2240],{"class":684},"ctx",[525,2242,595],{"class":535},[525,2244,691],{"class":690},[525,2246,694],{"class":535},[525,2248,2249,2252,2256,2258,2261,2264,2267,2269,2271,2273,2275,2278,2280,2282],{"class":527,"line":851},[525,2250,2251],{"class":531},"  await",[525,2253,2255],{"class":2254},"sBMFI"," Promise",[525,2257,703],{"class":535},[525,2259,2260],{"class":675},"allSettled",[525,2262,2263],{"class":714},"([",[525,2265,2266],{"class":675},"logs",[525,2268,679],{"class":714},[525,2270,2240],{"class":539},[525,2272,595],{"class":714},[525,2274,725],{"class":535},[525,2276,2277],{"class":675}," events",[525,2279,679],{"class":714},[525,2281,2240],{"class":539},[525,2283,2284],{"class":714},")])\n",[525,2286,2287],{"class":527,"line":866},[525,2288,2289],{"class":535},"}\n",[507,2291,2293],{"id":2292},"troubleshooting","Troubleshooting",[561,2295,2297],{"id":2296},"missing-apikey-error","Missing apiKey error",[514,2299,2305],{"className":2300,"code":2302,"filename":2303,"language":2304,"meta":520},[2301],"language-text","[evlog\u002Fposthog] Missing apiKey. Set POSTHOG_API_KEY env var or pass to createPostHogDrain()\n","Console","text",[522,2306,2302],{"__ignoreMap":520},[446,2308,2309],{},"Make sure your environment variable is set and the server was restarted after adding it.",[561,2311,2313],{"id":2312},"events-not-appearing","Events not appearing",[446,2315,2316],{},"PostHog processes events asynchronously. There may be a short delay (typically under 1 minute) before events appear in the dashboard.",[470,2318,2319,2326,2331],{},[473,2320,2321,2322,2325],{},"Check the server console for ",[522,2323,2324],{},"[evlog\u002Fposthog]"," error messages",[473,2327,2328,2329],{},"Verify your API key is correct and starts with ",[522,2330,594],{},[473,2332,2333,2334,2336],{},"Confirm your ",[522,2335,1505],{}," matches your PostHog region (US vs EU)",[561,2338,2340],{"id":2339},"wrong-region","Wrong region",[446,2342,2343,2344,2346],{},"If you're on PostHog EU but using the default US host, event delivery will fail and the adapter will log errors (for example under ",[522,2345,2324],{},") to your server console. Set the correct host:",[514,2348,2350],{"className":602,"code":2349,"filename":604,"language":605,"meta":520,"style":520},"POSTHOG_HOST=https:\u002F\u002Feu.i.posthog.com\n",[522,2351,2352],{"__ignoreMap":520},[525,2353,2354,2356,2358],{"class":527,"line":528},[525,2355,1293],{"class":539},[525,2357,615],{"class":535},[525,2359,1661],{"class":552},[507,2361,2363],{"id":2362},"direct-api-usage","Direct API Usage",[446,2365,2366],{},"For advanced use cases, you can use the lower-level functions:",[514,2368,2371],{"className":516,"code":2369,"filename":2370,"language":519,"meta":520,"style":520},"import { sendToPostHog, sendBatchToPostHog } from 'evlog\u002Fposthog'\n\n\u002F\u002F Send a single event to PostHog Logs (OTLP)\nawait sendToPostHog(event, {\n  apiKey: 'phc_xxx',\n})\n\n\u002F\u002F Send multiple events in one request\nawait sendBatchToPostHog(events, {\n  apiKey: 'phc_xxx',\n})\n","server\u002Futils\u002Fposthog.ts",[522,2372,2373,2397,2401,2406,2419,2435,2441,2445,2450,2464,2479],{"__ignoreMap":520},[525,2374,2375,2377,2379,2382,2384,2387,2389,2391,2393,2395],{"class":527,"line":528},[525,2376,532],{"class":531},[525,2378,536],{"class":535},[525,2380,2381],{"class":539}," sendToPostHog",[525,2383,725],{"class":535},[525,2385,2386],{"class":539}," sendBatchToPostHog",[525,2388,543],{"class":535},[525,2390,546],{"class":531},[525,2392,549],{"class":535},[525,2394,553],{"class":552},[525,2396,556],{"class":535},[525,2398,2399],{"class":527,"line":640},[525,2400,663],{"emptyLinePlaceholder":662},[525,2402,2403],{"class":527,"line":659},[525,2404,2405],{"class":636},"\u002F\u002F Send a single event to PostHog Logs (OTLP)\n",[525,2407,2408,2410,2412,2415,2417],{"class":527,"line":666},[525,2409,1018],{"class":531},[525,2411,2381],{"class":675},[525,2413,2414],{"class":539},"(event",[525,2416,725],{"class":535},[525,2418,694],{"class":535},[525,2420,2421,2424,2426,2428,2431,2433],{"class":527,"line":697},[525,2422,2423],{"class":714},"  apiKey",[525,2425,838],{"class":535},[525,2427,549],{"class":535},[525,2429,2430],{"class":552},"phc_xxx",[525,2432,717],{"class":535},[525,2434,848],{"class":535},[525,2436,2437,2439],{"class":527,"line":733},[525,2438,736],{"class":535},[525,2440,739],{"class":539},[525,2442,2443],{"class":527,"line":851},[525,2444,663],{"emptyLinePlaceholder":662},[525,2446,2447],{"class":527,"line":866},[525,2448,2449],{"class":636},"\u002F\u002F Send multiple events in one request\n",[525,2451,2453,2455,2457,2460,2462],{"class":527,"line":2452},9,[525,2454,1018],{"class":531},[525,2456,2386],{"class":675},[525,2458,2459],{"class":539},"(events",[525,2461,725],{"class":535},[525,2463,694],{"class":535},[525,2465,2467,2469,2471,2473,2475,2477],{"class":527,"line":2466},10,[525,2468,2423],{"class":714},[525,2470,838],{"class":535},[525,2472,549],{"class":535},[525,2474,2430],{"class":552},[525,2476,717],{"class":535},[525,2478,848],{"class":535},[525,2480,2482,2484],{"class":527,"line":2481},11,[525,2483,736],{"class":535},[525,2485,739],{"class":539},[446,2487,2488],{},"For custom events, use the events-specific functions:",[514,2490,2492],{"className":516,"code":2491,"filename":2370,"language":519,"meta":520,"style":520},"import { sendToPostHogEvents, sendBatchToPostHogEvents, toPostHogEvent } from 'evlog\u002Fposthog'\n\n\u002F\u002F Send a single custom event\nawait sendToPostHogEvents(event, {\n  apiKey: 'phc_xxx',\n})\n\n\u002F\u002F Send multiple custom events in one request\nawait sendBatchToPostHogEvents(events, {\n  apiKey: 'phc_xxx',\n})\n\n\u002F\u002F Convert event to PostHog format (for inspection)\nconst posthogEvent = toPostHogEvent(event, { apiKey: 'phc_xxx' })\n",[522,2493,2494,2523,2527,2532,2544,2558,2564,2568,2573,2585,2599,2605,2610,2616],{"__ignoreMap":520},[525,2495,2496,2498,2500,2503,2505,2508,2510,2513,2515,2517,2519,2521],{"class":527,"line":528},[525,2497,532],{"class":531},[525,2499,536],{"class":535},[525,2501,2502],{"class":539}," sendToPostHogEvents",[525,2504,725],{"class":535},[525,2506,2507],{"class":539}," sendBatchToPostHogEvents",[525,2509,725],{"class":535},[525,2511,2512],{"class":539}," toPostHogEvent",[525,2514,543],{"class":535},[525,2516,546],{"class":531},[525,2518,549],{"class":535},[525,2520,553],{"class":552},[525,2522,556],{"class":535},[525,2524,2525],{"class":527,"line":640},[525,2526,663],{"emptyLinePlaceholder":662},[525,2528,2529],{"class":527,"line":659},[525,2530,2531],{"class":636},"\u002F\u002F Send a single custom event\n",[525,2533,2534,2536,2538,2540,2542],{"class":527,"line":666},[525,2535,1018],{"class":531},[525,2537,2502],{"class":675},[525,2539,2414],{"class":539},[525,2541,725],{"class":535},[525,2543,694],{"class":535},[525,2545,2546,2548,2550,2552,2554,2556],{"class":527,"line":697},[525,2547,2423],{"class":714},[525,2549,838],{"class":535},[525,2551,549],{"class":535},[525,2553,2430],{"class":552},[525,2555,717],{"class":535},[525,2557,848],{"class":535},[525,2559,2560,2562],{"class":527,"line":733},[525,2561,736],{"class":535},[525,2563,739],{"class":539},[525,2565,2566],{"class":527,"line":851},[525,2567,663],{"emptyLinePlaceholder":662},[525,2569,2570],{"class":527,"line":866},[525,2571,2572],{"class":636},"\u002F\u002F Send multiple custom events in one request\n",[525,2574,2575,2577,2579,2581,2583],{"class":527,"line":2452},[525,2576,1018],{"class":531},[525,2578,2507],{"class":675},[525,2580,2459],{"class":539},[525,2582,725],{"class":535},[525,2584,694],{"class":535},[525,2586,2587,2589,2591,2593,2595,2597],{"class":527,"line":2466},[525,2588,2423],{"class":714},[525,2590,838],{"class":535},[525,2592,549],{"class":535},[525,2594,2430],{"class":552},[525,2596,717],{"class":535},[525,2598,848],{"class":535},[525,2600,2601,2603],{"class":527,"line":2481},[525,2602,736],{"class":535},[525,2604,739],{"class":539},[525,2606,2608],{"class":527,"line":2607},12,[525,2609,663],{"emptyLinePlaceholder":662},[525,2611,2613],{"class":527,"line":2612},13,[525,2614,2615],{"class":636},"\u002F\u002F Convert event to PostHog format (for inspection)\n",[525,2617,2619,2621,2624,2626,2628,2630,2632,2634,2637,2639,2641,2643,2645,2647],{"class":527,"line":2618},14,[525,2620,1411],{"class":690},[525,2622,2623],{"class":539}," posthogEvent ",[525,2625,615],{"class":535},[525,2627,2512],{"class":675},[525,2629,2414],{"class":539},[525,2631,725],{"class":535},[525,2633,536],{"class":535},[525,2635,2636],{"class":714}," apiKey",[525,2638,838],{"class":535},[525,2640,549],{"class":535},[525,2642,2430],{"class":552},[525,2644,717],{"class":535},[525,2646,543],{"class":535},[525,2648,739],{"class":539},[507,2650,2652],{"id":2651},"next-steps","Next Steps",[1553,2654,2655,2661,2667,2673],{},[473,2656,2657,2660],{},[449,2658,2659],{"href":104},"Axiom Adapter"," - Send logs to Axiom",[473,2662,2663,2666],{},[449,2664,2665],{"href":109},"OTLP Adapter"," - Send logs via OpenTelemetry Protocol",[473,2668,2669,2672],{},[449,2670,2671],{"href":400},"Custom Adapters"," - Build your own adapter",[473,2674,2675,2677],{},[449,2676,427],{"href":428}," - Security and production tips",[2679,2680,2681],"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}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}",{"title":520,"searchDepth":640,"depth":640,"links":2683},[2684,2685,2690,2696,2697,2698,2699,2705,2710,2711],{"id":509,"depth":640,"text":20},{"id":559,"depth":640,"text":25,"children":2686},[2687,2688,2689],{"id":563,"depth":659,"text":564},{"id":598,"depth":659,"text":599},{"id":621,"depth":659,"text":622},{"id":1206,"depth":640,"text":414,"children":2691},[2692,2693,2694,2695],{"id":1246,"depth":659,"text":1247},{"id":1304,"depth":659,"text":1305},{"id":1396,"depth":659,"text":1397},{"id":1460,"depth":659,"text":1461},{"id":1540,"depth":640,"text":1541},{"id":1586,"depth":640,"text":1587},{"id":1664,"depth":640,"text":1665},{"id":1688,"depth":640,"text":1689,"children":2700},[2701,2702,2703,2704],{"id":1831,"depth":659,"text":1832},{"id":1939,"depth":659,"text":1940},{"id":2034,"depth":659,"text":2035},{"id":2070,"depth":659,"text":2071},{"id":2292,"depth":640,"text":2293,"children":2706},[2707,2708,2709],{"id":2296,"depth":659,"text":2297},{"id":2312,"depth":659,"text":2313},{"id":2339,"depth":659,"text":2340},{"id":2362,"depth":640,"text":2363},{"id":2651,"depth":640,"text":2652},"Send wide events to PostHog Logs via OTLP for structured log querying, debugging, and observability in your PostHog dashboard.","md",[2715,2721],{"label":2716,"icon":2717,"to":572,"target":2718,"color":2719,"variant":2720},"PostHog Dashboard","i-lucide-external-link","_blank","neutral","subtle",{"label":2659,"icon":106,"to":104,"color":2719,"variant":2720},{},{"title":113,"icon":116},{"title":441,"description":2712},"60znJ-8QkIZgLjF5OW-ywvp7ZgrXbpsJip-VcYdObHc",[2727,2729],{"title":108,"path":109,"stem":110,"description":2728,"icon":111,"children":-1},"Send logs via OpenTelemetry Protocol (OTLP) to Grafana, Datadog, Honeycomb, and any compatible backend. Supports gRPC and HTTP transports.",{"title":118,"path":119,"stem":120,"description":2730,"icon":121,"children":-1},"Send structured logs to Sentry Logs for high-cardinality querying and debugging. Zero-config setup with environment variables.",1779694506614]