Add lambda-otel4s module
Supercedes #456
- Adds lambda-natchez module
- Adds lambda-otel4s module
- Traces lambdas with semantic conventions applied
- Adds otel4s examples
- Add scalafix migration to port natchez package imports -- (removes previous version scalafix migrations)
This is targeting otel4s 0.14.x ~0.13.x~ ~0.12.x~ ~0.11.x~ ~0.10.x~ ~0.9.x~ ~0.8.x~ ~0.7.x~ ~0.6.x~ ~0.5.x~
Links
https://opentelemetry.io/docs/specs/semconv/faas/aws-lambda/ https://opentelemetry.io/docs/specs/semconv/faas/faas-spans/
Currently pointed at a local snapshot so CI will definitely fail, as otel4s main has NoPublish for everything involving the SDK
@iRevive Updated all the attributes and removed semconv-experimental
Would appreciate another look when you have time
@alexcardell the changes look good.
We still need to wait for a release of https://github.com/http4s/http4s-otel4s-middleware, right?
The middleware would be useful for the example, but I don't believe it's necessary otherwise
Upgraded to otel4s 0.7 but thanks to sbt 1.10 that required a few other updates
Also added http4s-otel4s-middleware to the example