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

Passing configuration function to nodejs lambda instrumentation package #827

Open
sgracias1 opened this issue Jul 31, 2023 · 1 comment
Open
Labels
bug Something isn't working

Comments

@sgracias1
Copy link

Describe the bug
The lambda instrumentation layer provides a way to pass a configuration function to @opentelemetry/instrumentation-aws-lambda (link). However it is not clear how the user would provide such a function.
I have tried placing such a function definition at the root of my lambda function but that doesn't seem to work, the only place the definition was picked up was if the wrapper file itself was modified.

What did you expect to see?
Allow user to pass the configuration function to the lambda instrumentation package
Is providing the configuration function by the user currently supported, if so how would a user provide this function

What version of collector/language SDK version did you use?
nodejs layer 0.2.0

What language layer did you use?
Nodejs

Additional context
Add any other context about the problem here.

@sgracias1 sgracias1 added the bug Something isn't working label Jul 31, 2023
@timothymathison
Copy link

Is this a duplicate of #232 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants