You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I am using Sentry tracing, there appears to be a span missing at the end of the request. I found this GH issue that had the same issue but it was seemingly resolved and I made sure I am using the latest version.
I believe I have this set up correctly from the docs:
import { server } from 'nexus'
import * as Sentry from '@sentry/node'
import * as Tracing from '@sentry/tracing'
// @ts-ignore
Sentry.init({
dsn: 'Secret dsn 🤫',
environment: process.env.APP_ENVIRONMENT,
release: process.env.GIT_SHA,
enabled: true,
integrations: [
new Sentry.Integrations.Http({ tracing: true }),
new Tracing.Integrations.Express({
app: server.express,
}),
],
tracesSampleRate: process.env.APP_ENVIRONMENT === 'production' ? 0.5 : 1,
})
server.express.use(Sentry.Handlers.requestHandler())
server.express.use(Sentry.Handlers.tracingHandler())
export { Sentry }
I will keep digging a bit but wanted to post here in case someone else is still running into this or could help out, thanks. This also might be because I am using nexus and there is something that it can't see but I am not entirely sure yet.
The text was updated successfully, but these errors were encountered:
This issue has gone three weeks without activity. In another week, I will close it.
But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!
"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀
Uh oh!
There was an error while loading. Please reload this page.
Package + Version
@sentry/[email protected]
@sentry/[email protected]
Description
When I am using Sentry tracing, there appears to be a span missing at the end of the request. I found this GH issue that had the same issue but it was seemingly resolved and I made sure I am using the latest version.
I believe I have this set up correctly from the docs:
I will keep digging a bit but wanted to post here in case someone else is still running into this or could help out, thanks. This also might be because I am using
nexus
and there is something that it can't see but I am not entirely sure yet.The text was updated successfully, but these errors were encountered: