Lambda JAVA OTEL collector and S3 event issue

0

Describe the bug

We use the Java wrapper with opentelemetry-lambda-layer.zip and the opt/otel-handler. The lambda is triggered via AWS event bridge whenever a new object is created in an S3 bucket. The event is processed via a Java class implementing RequestHandler<S3Event, String> . When we add the opentelemetry layer, the event is gone, i.e. cannot be parsed.

Steps to reproduce

  • create Lambda with RequestHandler<S3Event, String>
  • create S3 bucket
  • create AWS EventBridge rule to trigger Lambda upon object creation
  • verify that S3 event contains data about new object
  • add opentelemetrey-lambda-layer.zip and configure with opt/otel-handler
  • S3 event is empty

What did you expect to see?

The S3 event should be visible to the Lambda's RequestHandler, there should be at least one record inside the S3 event.

What did you see instead?

The event was present, but did not contain any records.

What version of collector/language SDK version did you use?

latest version of opentelemetry-lambda: a2fa39178... com.amazonaws:aws-lambda-java-core:1.2.2. com.amazonaw:aws-lambda-java-events:3.11.0

What language layer did you use?

Java

reference: https://github.com/open-telemetry/opentelemetry-lambda/issues/640

srishti
demandé il y a 10 mois262 vues
1 réponse
0

Seems OpenTelemetry Java Lambda instrumentation for S3Event has issue, we will ask for open source team take a look.

répondu il y a 10 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions