Title: Capture Jev middleware calls inside LangGraph / `createAgent` · Issue #25032 · getsentry/sentry-javascript · GitHub
Open Graph Title: Capture Jev middleware calls inside LangGraph / `createAgent` · Issue #25032 · getsentry/sentry-javascript
X Title: Capture Jev middleware calls inside LangGraph / `createAgent` · Issue #25032 · getsentry/sentry-javascript
Description: LangChain's Jev middleware (model router and auto-mode) runs inside agents. Our LangChain/LangGraph instrumentation skips chain spans inside agents, so these Jev calls are probably invisible. This comes from reading the code. It is not v...
Open Graph Description: LangChain's Jev middleware (model router and auto-mode) runs inside agents. Our LangChain/LangGraph instrumentation skips chain spans inside agents, so these Jev calls are probably invisible. This ...
X Description: LangChain's Jev middleware (model router and auto-mode) runs inside agents. Our LangChain/LangGraph instrumentation skips chain spans inside agents, so these Jev calls are probably invisible. T...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/25032
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Capture Jev middleware calls inside LangGraph / `createAgent`","articleBody":"LangChain's Jev middleware (model router and auto-mode) runs inside agents. Our LangChain/LangGraph instrumentation skips chain spans inside agents, so these Jev calls are probably invisible.\n\nThis comes from reading the code. It is not verified at runtime yet.\n\n## Fix\n\n* Reproduce with a `createAgent` / LangGraph agent that uses the Jev middleware and confirm the gap.\n* If confirmed, record these calls as `gen_ai.evaluate` spans and add a test.\n\nChecked against sentry-javascript at b126416 (v11.4.0).","author":{"url":"https://github.com/andreiborza","@type":"Person","name":"andreiborza"},"datePublished":"2026-10-05T08:10:40Z","url":"https://github.com/getsentry/sentry-javascript/issues/25032"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:15c35dad-4ff7-935c-df8e-5124af49d9e0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AB46:3AA6A6:33C1A5:471002:6B045005 |
| html-safe-nonce | 2372366ff11a315a47b5661eb1696c8411f9780a4a2f0627d1cb1809fc92bb5c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQjQ2OjNBQTZBNjozM0MxQTU6NDcxMDAyOjZCMDQ1MDA1IiwidmlzaXRvcl9pZCI6IjgyODczNzU2Nzg0NjMyOTk1ODkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ce9a91e42dca15017a90e456e1116c2c7fbc60ad2e0faa8fe7a061f10e61c931 |
| hovercard-subject-tag | issue:5708620861 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/25032/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4c03049428e61b7a89367f8289b91dd1c641da3a7e2f86f11b51d7382d4b4382/getsentry/sentry-javascript/issues/25032 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4c03049428e61b7a89367f8289b91dd1c641da3a7e2f86f11b51d7382d4b4382/getsentry/sentry-javascript/issues/25032 |
| og:image:alt | LangChain's Jev middleware (model router and auto-mode) runs inside agents. Our LangChain/LangGraph instrumentation skips chain spans inside agents, so these Jev calls are probably invisible. This ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | andreiborza |
| hostname | github.com |
| expected-hostname | github.com |
| None | 002aa6b95ffa730b0aec436a5c383f536ad677284e60056037fb120afe37b730 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 059f24c781e3a0d7df3f27a97da0e93fab06ae39 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width