feral icon indicating copy to clipboard operation
feral copied to clipboard

Add lambda-otel4s module

Open alexcardell opened this issue 1 year ago • 23 comments

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/

alexcardell avatar Feb 23 '24 17:02 alexcardell

Currently pointed at a local snapshot so CI will definitely fail, as otel4s main has NoPublish for everything involving the SDK

alexcardell avatar Feb 27 '24 18:02 alexcardell

@iRevive Updated all the attributes and removed semconv-experimental

Would appreciate another look when you have time

alexcardell avatar Apr 19 '24 17:04 alexcardell

@alexcardell the changes look good.

We still need to wait for a release of https://github.com/http4s/http4s-otel4s-middleware, right?

iRevive avatar Apr 20 '24 07:04 iRevive

The middleware would be useful for the example, but I don't believe it's necessary otherwise

alexcardell avatar Apr 22 '24 08:04 alexcardell

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

alexcardell avatar May 08 '24 20:05 alexcardell