Victor Korzunin
Victor Korzunin
you complete your request when it succeeds, but you also need to complete in case of errors, according to the TS error, the expected output error is `never`, means you...
Hey @florianbepunkt it is indeed matching the regex could you pls try `application/octet-stream` to confirm your hypothesis
PS I copied that regex from [hono](https://github.com/honojs/hono/blob/bd454fe8a6c494050fc48f7a3eb61af3d49f91b4/src/adapter/lambda-edge/handler.ts#L191-L195), so could be the edge case for hono adapter too
hi @florianbepunkt this is how I do that attach layer to the lambda like this: ```yaml lambda: handler: src/index.handler layers: - arn:aws:lambda:eu-west-1:901920570463:layer:aws-otel-nodejs-amd64-ver-1-30-2:1 environment: AWS_LAMBDA_EXEC_WRAPPER: /opt/otel-handler ``` and then provide following...
UPDATE: I actually was able to link them together with this trick: ```ts import { Resource, Tracer } from "@effect/opentelemetry"; import { trace } from "@opentelemetry/api"; import { Layer }...
@florianbepunkt As I mentioned > you do not have to configure `NodeSdk` with span exporter within effect layer, it is configured by lambda layer, you only need to call `trace.getTracerProvider`...
elegant, thanks for posting it here
hi @dmeehan1968 actoually it supposed to work, could you share your env? like powertools version, effect version etc.. this piece of code exactly intended to add annotations as extra inputs:...
Not sure where do you connect the PowerTools Logger Layer... But here is how I modified your snippet and it works for me: ```diff diff --git a/main.ts b/main.ts index 5bbf5e9..56c69df...
Ok I got it, the problem is that the annotation you are adding is in the different scope (even different fiber) than the logs coming from services, The logs are...