Skip to content
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

add code-level metric options to nrlambda integration #559

Open
rittneje opened this issue Aug 25, 2022 · 0 comments
Open

add code-level metric options to nrlambda integration #559

rittneje opened this issue Aug 25, 2022 · 0 comments

Comments

@rittneje
Copy link
Contributor

rittneje commented Aug 25, 2022

Currently the nrlambda integration directly calls StartTransaction and does not pass any TraceOptions.

txn := h.app.StartTransaction(h.functionName)

I think nrlambda.WrapHandlerand nrlambda.Wrap need to be amended to accept them, just like newrelic.WrapHandle does. Similarly, it should use the file name and line number of the real handler function/method by default.

As part of this, the go.mod file for nrlambda will need to updated with the new minimum version requirement of the "core" agent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant