-
Notifications
You must be signed in to change notification settings - Fork 176
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: add lambda ruby wrapper for layer #1323
feat: add lambda ruby wrapper for layer #1323
Conversation
ruby/src/layer/wrapper.rb
Outdated
::OpenTelemetry::Instrumentation.registry.register('OpenTelemetry::Instrumentation::AwsLambda') | ||
::OpenTelemetry::Instrumentation.registry.install(['OpenTelemetry::Instrumentation::AwsLambda']) |
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'm curious about these two lines. Doesn't Instrumentation::Base
do this automatically?
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.
ah, yes, it should do it automatically, I will remove the registry part.
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.
LGTM
Thanks @mwear. @xuan-cao-swi Before merging this and testing the release process, please update the |
Thanks @tylerbenson , I have updated to dev |
…metry-lambda into ruby-layer-wrapper
This PR continues the work from #918.
Since ruby lambda instrumentation is released (rubygems), so it's time to create the actual wrapper for it.