-
Notifications
You must be signed in to change notification settings - Fork 23
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
feat: instrument example #280
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't had a chance to clone this and run through it myself, but it looks good to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this needs some work to properly pass in a spec to indicate how recording will happen and naming of the segments
Co-authored-by: James Sumners <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I followed the instructions in the readme and it all worked out as written. I have a suggestion based on my experience (data wasn't showing up immediately), but otherwise looks great.
Please wait for Bob to finalize his review.
Co-authored-by: James Sumners <[email protected]>
This example uses the newrelic.instrument and shim api to instrument a basic module, a rudimentary job queue.