-
Notifications
You must be signed in to change notification settings - Fork 400
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
newrelic.setTransactionName issues #164
Comments
Howdy @rcoup we don't do support via our issues anymore. We prefer if you go through https://support.newrelic.com/ Since you went a bit deeper on this than the average, I can give a quick reason why this is happening. Under the hood we use Once we have custom instrumentation you'll be able to account for those more interesting cases yourself, until then, without digging in and touching internals, you can't work around them. |
hurm. okay :) Is it (relatively) safe enough to just do |
Using a private API is fine, but at the risk that it may break between minor version updates. The The piece of the API you're touching haven't changed much, so it's probably safe if you'er in a hurry. Otherwise you may want to wait until custom instrumentation, which we'd be happy to have you help us beta test. |
Thanks, it'll keep me going for now. Happy to be involved with betas, ping me when you're ready. |
…/graphql-koa-dataloader/app/follow-redirects-1.15.4 chore(deps): bump follow-redirects from 1.15.3 to 1.15.4 in /graphql-koa-dataloader/app
…/babel/traverse-and-babel/traverse-7.23.2 Bump @babel/traverse
…/qs-6.5.3 Bump qs from 6.5.2 to 6.5.3
…/qs-6.5.3 Bump qs from 6.5.2 to 6.5.3
I'm having problems setting a transaction name. Super-simplistically:
Obviously doStuff() here is super-complex and involves caches and native modules and other nastiness. I can't reproduce the problem using a simplified example like the above.
If I keep a reference to the transaction object at PointA,
txn.isActive()
is true at PointB (even thoughgetTransaction()
still returns undefined). Similarly at PointC,getTransaction()
returns undefined, buttxn.isActive()
is now false.I've made sure sure
require('newrelic')
is the first thing done in the app. NewRelic is v1.8.1, express is v3.1.0Any ideas or further things to investigate? Thanks :)
The text was updated successfully, but these errors were encountered: