Skip to content

Getting the error as undefined (reading mesaure ) while upgrading to latest version 7.0.0 #339

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

Closed
VamsiChapa opened this issue Jan 27, 2025 · 4 comments

Comments

@VamsiChapa
Copy link

Description

NOTE: We are getting the error while upgraded to the latest version of 7.0.0
TIP: # ( Do NOT share sensitive information, whether personal, proprietary, or otherwise! )

Expected Behavior

Troubleshooting or NR Diag results

Steps to Reproduce

Your Environment

  • ex: Browser name and version:
  • ex: Node version:
  • ex: Operating System and version:

Additional context

`Cannot read properties of undefined (reading 'measure')
    at createMetricPairs (/app/node_modules/@newrelic/apollo-server-plugin/lib/common.js:113:17)
    at recordOperationSegment (/app/node_modules/@newrelic/apollo-server-plugin/lib/common.js:108:3)
    at Transaction.record (/app/node_modules/newrelic/lib/transaction/index.js:671:23)
    at Transaction.end (/app/node_modules/newrelic/lib/transaction/index.js:219:10)
    at ServerResponse.instrumentedFinish (/app/node_modules/newrelic/lib/instrumentation/core/http.js:202:19)
    at Object.onceWrapper (node:events:627:28)
    at ServerResponse.emit (node:events:525:35)
    at ServerResponse.emit (node:domain:489:12)
    at ServerResponse.wrapped [as emit] (/app/node_modules/newrelic/lib/transaction/tracer/index.js:198:22)
    at onFinish (node:_http_outgoing:994:10)`
@VamsiChapa VamsiChapa added bug Something isn't working needs-triage labels Jan 27, 2025
@workato-integration
Copy link

@bizob2828
Copy link
Member

bizob2828 commented Jan 27, 2025

@VamsiChapa which version of the newrelic package are you using? You need at least 12.11.0

@kmudduluru kmudduluru removed the bug Something isn't working label Jan 31, 2025
@bizob2828
Copy link
Member

I'm going to close this. @VamsiChapa if you can confirm you're using at least 12.11.0 of newrelic and still see this issue, please reopen with a reproduction case.

@github-project-automation github-project-automation bot moved this from Triage Needed: Unprioritized Features to Done: Issues recently completed in Node.js Engineering Board Jan 31, 2025
@VamsiChapa
Copy link
Author

Thank you, This is resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done: Issues recently completed
Development

No branches or pull requests

3 participants