I'm trying to use the opentelemetry plugin to add ...
# http4k
a
I'm trying to use the opentelemetry plugin to add additional segments to AWS Xray from my AWS Lambda Function. I have opentelemetry initialized with the Xray propogator
Copy code
val openTelemetry = OpenTelemetrySdk.builder()
    .setPropagators(create(AwsXrayPropagator.getInstance()))
    .buildAndRegisterGlobal()
I have my server instrumented (plus clients and sdks)
Copy code
class ApiLambdaHandler: ApiGatewayV2LambdaFunction(
    ServerFilters.OpenTelemetryTracing(openTelemetry)
    .then(httpHandler)
)
but the extra segments aren't being added to the xray traces. My guess is that
openTelemetry
isn't integrated with the lambda. Does anyone have any examples of doing this without any ridiculous JVM agents?