[{"data":1,"prerenderedAt":1321},["ShallowReactive",2],{"navigation_docs":3,"-adapters-sentry":166,"-adapters-sentry-surround":1316},[4,30,55,105,122,136],{"title":5,"path":6,"stem":7,"children":8,"page":29},"Getting Started","/getting-started","1.getting-started",[9,14,19,24],{"title":10,"path":11,"stem":12,"icon":13},"Introduction","/getting-started/introduction","1.getting-started/1.introduction","i-lucide-info",{"title":15,"path":16,"stem":17,"icon":18},"Installation","/getting-started/installation","1.getting-started/2.installation","i-lucide-download",{"title":20,"path":21,"stem":22,"icon":23},"Quick Start","/getting-started/quick-start","1.getting-started/3.quick-start","i-lucide-zap",{"title":25,"path":26,"stem":27,"icon":28},"Agent Skills","/getting-started/agent-skills","1.getting-started/4.agent-skills","i-lucide-sparkles",false,{"title":31,"path":32,"stem":33,"children":34,"page":29},"Core Concepts","/core-concepts","2.core-concepts",[35,40,45,50],{"title":36,"path":37,"stem":38,"icon":39},"Wide Events","/core-concepts/wide-events","2.core-concepts/1.wide-events","i-lucide-layers",{"title":41,"path":42,"stem":43,"icon":44},"Structured Errors","/core-concepts/structured-errors","2.core-concepts/2.structured-errors","i-lucide-shield-alert",{"title":46,"path":47,"stem":48,"icon":49},"Best Practices","/core-concepts/best-practices","2.core-concepts/3.best-practices","i-lucide-shield-check",{"title":51,"path":52,"stem":53,"icon":54},"Typed Fields","/core-concepts/typed-fields","2.core-concepts/4.typed-fields","i-simple-icons-typescript",{"title":56,"path":57,"stem":58,"children":59,"page":29},"Adapters","/adapters","3.adapters",[60,65,70,75,80,85,90,95,100],{"title":61,"path":62,"stem":63,"icon":64},"Overview","/adapters/overview","3.adapters/1.overview","i-custom-plug",{"title":66,"path":67,"stem":68,"icon":69},"Axiom","/adapters/axiom","3.adapters/2.axiom","i-custom-axiom",{"title":71,"path":72,"stem":73,"icon":74},"OTLP","/adapters/otlp","3.adapters/3.otlp","i-simple-icons-opentelemetry",{"title":76,"path":77,"stem":78,"icon":79},"PostHog","/adapters/posthog","3.adapters/4.posthog","i-simple-icons-posthog",{"title":81,"path":82,"stem":83,"icon":84},"Sentry","/adapters/sentry","3.adapters/5.sentry","i-simple-icons-sentry",{"title":86,"path":87,"stem":88,"icon":89},"Better Stack","/adapters/better-stack","3.adapters/6.better-stack","i-simple-icons-betterstack",{"title":91,"path":92,"stem":93,"icon":94},"Custom Adapters","/adapters/custom","3.adapters/7.custom","i-lucide-code",{"title":96,"path":97,"stem":98,"icon":99},"Pipeline","/adapters/pipeline","3.adapters/8.pipeline","i-lucide-workflow",{"title":101,"path":102,"stem":103,"icon":104},"Browser","/adapters/browser","3.adapters/9.browser","i-lucide-globe",{"title":106,"path":107,"stem":108,"children":109,"page":29},"Enrichers","/enrichers","4.enrichers",[110,113,118],{"title":61,"path":111,"stem":112,"icon":28},"/enrichers/overview","4.enrichers/1.overview",{"title":114,"path":115,"stem":116,"icon":117},"Built-in","/enrichers/built-in","4.enrichers/2.built-in","i-lucide-puzzle",{"title":119,"path":120,"stem":121,"icon":94},"Custom","/enrichers/custom","4.enrichers/3.custom",{"title":123,"path":124,"stem":125,"children":126,"page":29},"NuxtHub","/nuxthub","5.nuxthub",[127,131],{"title":61,"path":128,"stem":129,"icon":130},"/nuxthub/overview","5.nuxthub/1.overview","i-lucide-database",{"title":132,"path":133,"stem":134,"icon":135},"Retention","/nuxthub/retention","5.nuxthub/2.retention","i-lucide-clock",{"title":137,"path":138,"stem":139,"children":140,"page":29},"Examples","/examples","6.examples",[141,146,151,156,161],{"title":142,"path":143,"stem":144,"icon":145},"Next.js","/examples/nextjs","6.examples/1.nextjs","i-simple-icons-nextdotjs",{"title":147,"path":148,"stem":149,"icon":150},"TanStack Start","/examples/tanstack-start","6.examples/2.tanstack-start","i-custom-tanstack",{"title":152,"path":153,"stem":154,"icon":155},"Hono","/examples/hono","6.examples/3.hono","i-simple-icons-hono",{"title":157,"path":158,"stem":159,"icon":160},"Express","/examples/express","6.examples/4.express","i-simple-icons-express",{"title":162,"path":163,"stem":164,"icon":165},"Elysia","/examples/elysia","6.examples/5.elysia","i-custom-elysia",{"id":167,"title":168,"body":169,"description":1302,"extension":1303,"links":1304,"meta":1312,"navigation":1313,"path":82,"seo":1314,"stem":83,"__hash__":1315},"docs/3.adapters/5.sentry.md","Sentry Adapter",{"type":170,"value":171,"toc":1279},"minimark",[172,191,195,198,242,245,250,274,278,297,301,408,414,418,421,461,465,514,529,533,540,670,674,677,822,826,933,937,943,1029,1033,1036,1065,1069,1073,1077,1085,1088,1092,1095,1101,1105,1111,1115,1118,1246,1250,1275],[173,174,175,181,182,186,187,190],"p",{},[176,177,81],"a",{"href":178,"rel":179},"https://sentry.io",[180],"nofollow"," is an error tracking and performance monitoring platform. The evlog Sentry adapter sends your wide events as ",[183,184,185],"strong",{},"Sentry Structured Logs",", visible in ",[183,188,189],{},"Explore > Logs"," in the Sentry dashboard with high-cardinality searchable attributes.",[192,193,15],"h2",{"id":194},"installation",[173,196,197],{},"The Sentry adapter comes bundled with evlog:",[199,200,206],"pre",{"className":201,"code":202,"filename":203,"language":204,"meta":205,"style":205},"language-typescript shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { createSentryDrain } from 'evlog/sentry'\n","server/plugins/evlog-drain.ts","typescript","",[207,208,209],"code",{"__ignoreMap":205},[210,211,214,218,222,226,229,232,235,239],"span",{"class":212,"line":213},"line",1,[210,215,217],{"class":216},"s7zQu","import",[210,219,221],{"class":220},"sMK4o"," {",[210,223,225],{"class":224},"sTEyZ"," createSentryDrain",[210,227,228],{"class":220}," }",[210,230,231],{"class":216}," from",[210,233,234],{"class":220}," '",[210,236,238],{"class":237},"sfazB","evlog/sentry",[210,240,241],{"class":220},"'\n",[192,243,20],{"id":244},"quick-start",[246,247,249],"h3",{"id":248},"_1-get-your-sentry-dsn","1. Get your Sentry DSN",[251,252,253,261,264],"ol",{},[254,255,256,257],"li",{},"Create a ",[176,258,260],{"href":178,"rel":259},[180],"Sentry account",[254,262,263],{},"Create a new project (Node.js or JavaScript)",[254,265,266,267],{},"Find your DSN in ",[183,268,269,270,273],{},"Settings > Projects > ",[210,271,272],{},"Your Project"," > Client Keys (DSN)",[246,275,277],{"id":276},"_2-set-environment-variables","2. Set environment variables",[199,279,284],{"className":280,"code":281,"filename":282,"language":283,"meta":205,"style":205},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","NUXT_SENTRY_DSN=https://your-public-key@o0.ingest.sentry.io/your-project-id\n",".env","bash",[207,285,286],{"__ignoreMap":205},[210,287,288,291,294],{"class":212,"line":213},[210,289,290],{"class":224},"NUXT_SENTRY_DSN",[210,292,293],{"class":220},"=",[210,295,296],{"class":237},"https://your-public-key@o0.ingest.sentry.io/your-project-id\n",[246,298,300],{"id":299},"_3-create-the-drain-plugin","3. Create the drain plugin",[199,302,304],{"className":201,"code":303,"filename":203,"language":204,"meta":205,"style":205},"import { createSentryDrain } from 'evlog/sentry'\n\nexport default defineNitroPlugin((nitroApp) => {\n  nitroApp.hooks.hook('evlog:drain', createSentryDrain())\n})\n",[207,305,306,324,331,363,399],{"__ignoreMap":205},[210,307,308,310,312,314,316,318,320,322],{"class":212,"line":213},[210,309,217],{"class":216},[210,311,221],{"class":220},[210,313,225],{"class":224},[210,315,228],{"class":220},[210,317,231],{"class":216},[210,319,234],{"class":220},[210,321,238],{"class":237},[210,323,241],{"class":220},[210,325,327],{"class":212,"line":326},2,[210,328,330],{"emptyLinePlaceholder":329},true,"\n",[210,332,334,337,340,344,347,349,353,356,360],{"class":212,"line":333},3,[210,335,336],{"class":216},"export",[210,338,339],{"class":216}," default",[210,341,343],{"class":342},"s2Zo4"," defineNitroPlugin",[210,345,346],{"class":224},"(",[210,348,346],{"class":220},[210,350,352],{"class":351},"sHdIc","nitroApp",[210,354,355],{"class":220},")",[210,357,359],{"class":358},"spNyl"," =>",[210,361,362],{"class":220}," {\n",[210,364,366,369,372,375,377,380,383,386,389,391,394,396],{"class":212,"line":365},4,[210,367,368],{"class":224},"  nitroApp",[210,370,371],{"class":220},".",[210,373,374],{"class":224},"hooks",[210,376,371],{"class":220},[210,378,379],{"class":342},"hook",[210,381,346],{"class":382},"swJcz",[210,384,385],{"class":220},"'",[210,387,388],{"class":237},"evlog:drain",[210,390,385],{"class":220},[210,392,393],{"class":220},",",[210,395,225],{"class":342},[210,397,398],{"class":382},"())\n",[210,400,402,405],{"class":212,"line":401},5,[210,403,404],{"class":220},"}",[210,406,407],{"class":224},")\n",[173,409,410,411,413],{},"That's it! Your logs will now appear in ",[183,412,189],{}," in Sentry.",[192,415,417],{"id":416},"configuration","Configuration",[173,419,420],{},"The adapter reads configuration from multiple sources (highest priority first):",[251,422,423,432,441,448],{},[254,424,425,428,429],{},[183,426,427],{},"Overrides"," passed to ",[207,430,431],{},"createSentryDrain()",[254,433,434,437,438],{},[183,435,436],{},"Runtime config"," at ",[207,439,440],{},"runtimeConfig.evlog.sentry",[254,442,443,437,445],{},[183,444,436],{},[207,446,447],{},"runtimeConfig.sentry",[254,449,450,453,454,457,458,355],{},[183,451,452],{},"Environment variables"," (",[207,455,456],{},"NUXT_SENTRY_*"," or ",[207,459,460],{},"SENTRY_*",[246,462,464],{"id":463},"environment-variables","Environment Variables",[466,467,468,481],"table",{},[469,470,471],"thead",{},[472,473,474,478],"tr",{},[475,476,477],"th",{},"Variable",[475,479,480],{},"Description",[482,483,484,494,504],"tbody",{},[472,485,486,491],{},[487,488,489],"td",{},[207,490,290],{},[487,492,493],{},"Sentry DSN (required)",[472,495,496,501],{},[487,497,498],{},[207,499,500],{},"NUXT_SENTRY_ENVIRONMENT",[487,502,503],{},"Environment name override",[472,505,506,511],{},[487,507,508],{},[207,509,510],{},"NUXT_SENTRY_RELEASE",[487,512,513],{},"Release version override",[173,515,516,517,520,521,524,525,528],{},"You can also use ",[207,518,519],{},"SENTRY_DSN",", ",[207,522,523],{},"SENTRY_ENVIRONMENT",", and ",[207,526,527],{},"SENTRY_RELEASE"," as fallbacks.",[246,530,532],{"id":531},"runtime-config","Runtime Config",[173,534,535,536,539],{},"Configure via ",[207,537,538],{},"nuxt.config.ts"," for type-safe configuration:",[199,541,543],{"className":201,"code":542,"filename":538,"language":204,"meta":205,"style":205},"export default defineNuxtConfig({\n  modules: ['evlog/nuxt'],\n  evlog: {\n    sentry: {\n      dsn: '', // Set via NUXT_SENTRY_DSN\n      environment: 'production',\n      release: '1.0.0',\n    },\n  },\n})\n",[207,544,545,559,583,592,601,617,634,651,657,663],{"__ignoreMap":205},[210,546,547,549,551,554,556],{"class":212,"line":213},[210,548,336],{"class":216},[210,550,339],{"class":216},[210,552,553],{"class":342}," defineNuxtConfig",[210,555,346],{"class":224},[210,557,558],{"class":220},"{\n",[210,560,561,564,567,570,572,575,577,580],{"class":212,"line":326},[210,562,563],{"class":382},"  modules",[210,565,566],{"class":220},":",[210,568,569],{"class":224}," [",[210,571,385],{"class":220},[210,573,574],{"class":237},"evlog/nuxt",[210,576,385],{"class":220},[210,578,579],{"class":224},"]",[210,581,582],{"class":220},",\n",[210,584,585,588,590],{"class":212,"line":333},[210,586,587],{"class":382},"  evlog",[210,589,566],{"class":220},[210,591,362],{"class":220},[210,593,594,597,599],{"class":212,"line":365},[210,595,596],{"class":382},"    sentry",[210,598,566],{"class":220},[210,600,362],{"class":220},[210,602,603,606,608,611,613],{"class":212,"line":401},[210,604,605],{"class":382},"      dsn",[210,607,566],{"class":220},[210,609,610],{"class":220}," ''",[210,612,393],{"class":220},[210,614,616],{"class":615},"sHwdD"," // Set via NUXT_SENTRY_DSN\n",[210,618,620,623,625,627,630,632],{"class":212,"line":619},6,[210,621,622],{"class":382},"      environment",[210,624,566],{"class":220},[210,626,234],{"class":220},[210,628,629],{"class":237},"production",[210,631,385],{"class":220},[210,633,582],{"class":220},[210,635,637,640,642,644,647,649],{"class":212,"line":636},7,[210,638,639],{"class":382},"      release",[210,641,566],{"class":220},[210,643,234],{"class":220},[210,645,646],{"class":237},"1.0.0",[210,648,385],{"class":220},[210,650,582],{"class":220},[210,652,654],{"class":212,"line":653},8,[210,655,656],{"class":220},"    },\n",[210,658,660],{"class":212,"line":659},9,[210,661,662],{"class":220},"  },\n",[210,664,666,668],{"class":212,"line":665},10,[210,667,404],{"class":220},[210,669,407],{"class":224},[246,671,673],{"id":672},"override-options","Override Options",[173,675,676],{},"Pass options directly to override any configuration:",[199,678,680],{"className":201,"code":679,"filename":203,"language":204,"meta":205,"style":205},"import { createSentryDrain } from 'evlog/sentry'\n\nexport default defineNitroPlugin((nitroApp) => {\n  nitroApp.hooks.hook('evlog:drain', createSentryDrain({\n    dsn: 'https://key@o0.ingest.sentry.io/123',\n    tags: { team: 'backend' },\n    timeout: 10000, // 10 seconds\n  }))\n})\n",[207,681,682,700,704,724,752,768,792,808,816],{"__ignoreMap":205},[210,683,684,686,688,690,692,694,696,698],{"class":212,"line":213},[210,685,217],{"class":216},[210,687,221],{"class":220},[210,689,225],{"class":224},[210,691,228],{"class":220},[210,693,231],{"class":216},[210,695,234],{"class":220},[210,697,238],{"class":237},[210,699,241],{"class":220},[210,701,702],{"class":212,"line":326},[210,703,330],{"emptyLinePlaceholder":329},[210,705,706,708,710,712,714,716,718,720,722],{"class":212,"line":333},[210,707,336],{"class":216},[210,709,339],{"class":216},[210,711,343],{"class":342},[210,713,346],{"class":224},[210,715,346],{"class":220},[210,717,352],{"class":351},[210,719,355],{"class":220},[210,721,359],{"class":358},[210,723,362],{"class":220},[210,725,726,728,730,732,734,736,738,740,742,744,746,748,750],{"class":212,"line":365},[210,727,368],{"class":224},[210,729,371],{"class":220},[210,731,374],{"class":224},[210,733,371],{"class":220},[210,735,379],{"class":342},[210,737,346],{"class":382},[210,739,385],{"class":220},[210,741,388],{"class":237},[210,743,385],{"class":220},[210,745,393],{"class":220},[210,747,225],{"class":342},[210,749,346],{"class":382},[210,751,558],{"class":220},[210,753,754,757,759,761,764,766],{"class":212,"line":401},[210,755,756],{"class":382},"    dsn",[210,758,566],{"class":220},[210,760,234],{"class":220},[210,762,763],{"class":237},"https://key@o0.ingest.sentry.io/123",[210,765,385],{"class":220},[210,767,582],{"class":220},[210,769,770,773,775,777,780,782,784,787,789],{"class":212,"line":619},[210,771,772],{"class":382},"    tags",[210,774,566],{"class":220},[210,776,221],{"class":220},[210,778,779],{"class":382}," team",[210,781,566],{"class":220},[210,783,234],{"class":220},[210,785,786],{"class":237},"backend",[210,788,385],{"class":220},[210,790,791],{"class":220}," },\n",[210,793,794,797,799,803,805],{"class":212,"line":636},[210,795,796],{"class":382},"    timeout",[210,798,566],{"class":220},[210,800,802],{"class":801},"sbssI"," 10000",[210,804,393],{"class":220},[210,806,807],{"class":615}," // 10 seconds\n",[210,809,810,813],{"class":212,"line":653},[210,811,812],{"class":220},"  }",[210,814,815],{"class":382},"))\n",[210,817,818,820],{"class":212,"line":659},[210,819,404],{"class":220},[210,821,407],{"class":224},[246,823,825],{"id":824},"full-configuration-reference","Full Configuration Reference",[466,827,828,843],{},[469,829,830],{},[472,831,832,835,838,841],{},[475,833,834],{},"Option",[475,836,837],{},"Type",[475,839,840],{},"Default",[475,842,480],{},[482,844,845,862,879,896,913],{},[472,846,847,852,857,860],{},[487,848,849],{},[207,850,851],{},"dsn",[487,853,854],{},[207,855,856],{},"string",[487,858,859],{},"-",[487,861,493],{},[472,863,864,869,873,876],{},[487,865,866],{},[207,867,868],{},"environment",[487,870,871],{},[207,872,856],{},[487,874,875],{},"Event environment",[487,877,878],{},"Environment name",[472,880,881,886,890,893],{},[487,882,883],{},[207,884,885],{},"release",[487,887,888],{},[207,889,856],{},[487,891,892],{},"Event version",[487,894,895],{},"Release version",[472,897,898,903,908,910],{},[487,899,900],{},[207,901,902],{},"tags",[487,904,905],{},[207,906,907],{},"Record\u003Cstring, string>",[487,909,859],{},[487,911,912],{},"Additional attributes to attach",[472,914,915,920,925,930],{},[487,916,917],{},[207,918,919],{},"timeout",[487,921,922],{},[207,923,924],{},"number",[487,926,927],{},[207,928,929],{},"5000",[487,931,932],{},"Request timeout in milliseconds",[192,934,936],{"id":935},"log-transformation","Log Transformation",[173,938,939,940,566],{},"evlog wide events are converted to Sentry Logs using ",[207,941,942],{},"toSentryLog()",[944,945,946,964,982,999,1005,1019],"ul",{},[254,947,948,951,952,520,955,520,958,520,961,355],{},[183,949,950],{},"Level mapping",": evlog levels map directly (",[207,953,954],{},"debug",[207,956,957],{},"info",[207,959,960],{},"warn",[207,962,963],{},"error",[254,965,966,969,970,520,973,520,976,520,979,355],{},[183,967,968],{},"Severity numbers",": Follow the OpenTelemetry spec (",[207,971,972],{},"debug=5",[207,974,975],{},"info=9",[207,977,978],{},"warn=13",[207,980,981],{},"error=17",[254,983,984,987,988,520,991,994,995,998],{},[183,985,986],{},"Body",": Derived from the event's ",[207,989,990],{},"message",[207,992,993],{},"action",", or ",[207,996,997],{},"path"," fields (first available)",[254,1000,1001,1004],{},[183,1002,1003],{},"Attributes",": All wide event fields are sent as typed attributes (string, integer, double, boolean). Complex objects are serialized to JSON strings.",[254,1006,1007,1010,1011,1014,1015,1018],{},[183,1008,1009],{},"Sentry attributes",": ",[207,1012,1013],{},"sentry.environment"," and ",[207,1016,1017],{},"sentry.release"," are set automatically",[254,1020,1021,1024,1025,1028],{},[183,1022,1023],{},"Trace ID",": Uses ",[207,1026,1027],{},"event.traceId"," if available, otherwise generates a random one",[192,1030,1032],{"id":1031},"querying-logs-in-sentry","Querying Logs in Sentry",[173,1034,1035],{},"evlog sends wide events as structured logs. In the Sentry dashboard:",[944,1037,1038,1043,1055],{},[254,1039,1040,1042],{},[183,1041,189],{},": View all evlog wide events with full attribute search",[254,1044,1045,1010,1048,520,1051,1054],{},[183,1046,1047],{},"Filter by attributes",[207,1049,1050],{},"service:my-app",[207,1052,1053],{},"level:error",", or any wide event field",[254,1056,1057,1060,1061,1064],{},[183,1058,1059],{},"Trace correlation",": Logs are linked to traces via ",[207,1062,1063],{},"trace_id"," for cross-referencing",[1066,1067,1068],"callout",{"color":957,"icon":13},"Sentry Structured Logs support high-cardinality attributes, making them a great fit for evlog's wide events. Every field in your wide event becomes a searchable attribute in Sentry.",[192,1070,1072],{"id":1071},"troubleshooting","Troubleshooting",[246,1074,1076],{"id":1075},"missing-dsn-error","Missing DSN error",[199,1078,1083],{"className":1079,"code":1081,"language":1082},[1080],"language-text","[evlog/sentry] Missing DSN. Set NUXT_SENTRY_DSN/SENTRY_DSN env var or pass to createSentryDrain()\n","text",[207,1084,1081],{"__ignoreMap":205},[173,1086,1087],{},"Make sure your environment variable is set and the server was restarted after adding it.",[246,1089,1091],{"id":1090},"invalid-dsn","Invalid DSN",[173,1093,1094],{},"If the DSN is malformed (missing public key or project ID), the adapter will throw an error. Verify your DSN format:",[199,1096,1099],{"className":1097,"code":1098,"language":1082},[1080],"https://\u003Cpublic-key>@\u003Chost>/\u003Cproject-id>\n",[207,1100,1098],{"__ignoreMap":205},[246,1102,1104],{"id":1103},"_401-unauthorized","401 Unauthorized",[173,1106,1107,1108,371],{},"Your DSN may be revoked or invalid. Generate a new DSN in ",[183,1109,1110],{},"Settings > Projects > Client Keys (DSN)",[192,1112,1114],{"id":1113},"direct-api-usage","Direct API Usage",[173,1116,1117],{},"For advanced use cases, you can use the lower-level functions:",[199,1119,1122],{"className":201,"code":1120,"filename":1121,"language":204,"meta":205,"style":205},"import { sendToSentry, sendBatchToSentry } from 'evlog/sentry'\n\n// Send a single event as a Sentry log\nawait sendToSentry(event, {\n  dsn: process.env.SENTRY_DSN!,\n})\n\n// Send multiple events in one request\nawait sendBatchToSentry(events, {\n  dsn: process.env.SENTRY_DSN!,\n})\n","server/utils/sentry.ts",[207,1123,1124,1148,1152,1157,1171,1193,1199,1203,1208,1221,1239],{"__ignoreMap":205},[210,1125,1126,1128,1130,1133,1135,1138,1140,1142,1144,1146],{"class":212,"line":213},[210,1127,217],{"class":216},[210,1129,221],{"class":220},[210,1131,1132],{"class":224}," sendToSentry",[210,1134,393],{"class":220},[210,1136,1137],{"class":224}," sendBatchToSentry",[210,1139,228],{"class":220},[210,1141,231],{"class":216},[210,1143,234],{"class":220},[210,1145,238],{"class":237},[210,1147,241],{"class":220},[210,1149,1150],{"class":212,"line":326},[210,1151,330],{"emptyLinePlaceholder":329},[210,1153,1154],{"class":212,"line":333},[210,1155,1156],{"class":615},"// Send a single event as a Sentry log\n",[210,1158,1159,1162,1164,1167,1169],{"class":212,"line":365},[210,1160,1161],{"class":216},"await",[210,1163,1132],{"class":342},[210,1165,1166],{"class":224},"(event",[210,1168,393],{"class":220},[210,1170,362],{"class":220},[210,1172,1173,1176,1178,1181,1183,1186,1188,1190],{"class":212,"line":401},[210,1174,1175],{"class":382},"  dsn",[210,1177,566],{"class":220},[210,1179,1180],{"class":224}," process",[210,1182,371],{"class":220},[210,1184,1185],{"class":224},"env",[210,1187,371],{"class":220},[210,1189,519],{"class":224},[210,1191,1192],{"class":220},"!,\n",[210,1194,1195,1197],{"class":212,"line":619},[210,1196,404],{"class":220},[210,1198,407],{"class":224},[210,1200,1201],{"class":212,"line":636},[210,1202,330],{"emptyLinePlaceholder":329},[210,1204,1205],{"class":212,"line":653},[210,1206,1207],{"class":615},"// Send multiple events in one request\n",[210,1209,1210,1212,1214,1217,1219],{"class":212,"line":659},[210,1211,1161],{"class":216},[210,1213,1137],{"class":342},[210,1215,1216],{"class":224},"(events",[210,1218,393],{"class":220},[210,1220,362],{"class":220},[210,1222,1223,1225,1227,1229,1231,1233,1235,1237],{"class":212,"line":665},[210,1224,1175],{"class":382},[210,1226,566],{"class":220},[210,1228,1180],{"class":224},[210,1230,371],{"class":220},[210,1232,1185],{"class":224},[210,1234,371],{"class":220},[210,1236,519],{"class":224},[210,1238,1192],{"class":220},[210,1240,1242,1244],{"class":212,"line":1241},11,[210,1243,404],{"class":220},[210,1245,407],{"class":224},[192,1247,1249],{"id":1248},"next-steps","Next Steps",[944,1251,1252,1258,1264,1270],{},[254,1253,1254,1257],{},[176,1255,1256],{"href":67},"Axiom Adapter"," - Send logs to Axiom for querying and dashboards",[254,1259,1260,1263],{},[176,1261,1262],{"href":72},"OTLP Adapter"," - Send logs via OpenTelemetry Protocol",[254,1265,1266,1269],{},[176,1267,1268],{"href":77},"PostHog Adapter"," - Send logs to PostHog",[254,1271,1272,1274],{},[176,1273,91],{"href":92}," - Build your own adapter",[1276,1277,1278],"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 .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 .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 .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}",{"title":205,"searchDepth":326,"depth":326,"links":1280},[1281,1282,1287,1293,1294,1295,1300,1301],{"id":194,"depth":326,"text":15},{"id":244,"depth":326,"text":20,"children":1283},[1284,1285,1286],{"id":248,"depth":333,"text":249},{"id":276,"depth":333,"text":277},{"id":299,"depth":333,"text":300},{"id":416,"depth":326,"text":417,"children":1288},[1289,1290,1291,1292],{"id":463,"depth":333,"text":464},{"id":531,"depth":333,"text":532},{"id":672,"depth":333,"text":673},{"id":824,"depth":333,"text":825},{"id":935,"depth":326,"text":936},{"id":1031,"depth":326,"text":1032},{"id":1071,"depth":326,"text":1072,"children":1296},[1297,1298,1299],{"id":1075,"depth":333,"text":1076},{"id":1090,"depth":333,"text":1091},{"id":1103,"depth":333,"text":1104},{"id":1113,"depth":326,"text":1114},{"id":1248,"depth":326,"text":1249},"Send structured logs to Sentry Logs for high-cardinality querying and debugging. Zero-config setup with environment variables.","md",[1305,1311],{"label":1306,"icon":1307,"to":178,"target":1308,"color":1309,"variant":1310},"Sentry Dashboard","i-lucide-external-link","_blank","neutral","subtle",{"label":1262,"icon":74,"to":72,"color":1309,"variant":1310},{},{"title":81,"icon":84},{"title":168,"description":1302},"vqATS5t_590zccKovwXd2uPfGxLoMU5i9nctJvaQRSg",[1317,1319],{"title":76,"path":77,"stem":78,"description":1318,"icon":79,"children":-1},"Send wide events to PostHog Logs via OTLP for structured log querying, debugging, and observability in your PostHog dashboard.",{"title":86,"path":87,"stem":88,"description":1320,"icon":89,"children":-1},"Send wide events to Better Stack (formerly Logtail) for log management, alerting, and dashboards. Zero-config setup with environment variables.",1772879911591]