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