feral
feral copied to clipboard
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.10.0
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