feat(aws-lambda): support stable http semantic convension
Description
This updates the aws-lambda instrumentation to respect the OTEL_SEMCONV_STABILITY_OPT_IN environment variable when dealing with HTTP spans. It stops using the SpanAttributes directly and instead opted to use the http utility methods created and used by other http instrumentations. This however means that the aws-lambda now also depends on the opentelemetry-util-http package.
Ref #3475
Type of change
- [x] New feature (non-breaking change which adds functionality)
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
- [x] Run tests
Does This PR Require a Core Repo Change?
- [ ] Yes. - Link to PR:
- [x] No.
Checklist:
See contributing.md for styleguide, changelog guidelines, and more.
- [x] Followed the style guidelines of this project
- [ ] Changelogs have been updated
- [x] Unit tests have been added
- [ ] Documentation has been updated
hey there, can I get an ETA on this?
Hello, can I get an update on this?