Git Product home page Git Product logo

Comments (7)

anuraaga avatar anuraaga commented on July 24, 2024

Hi @otj202 - that isn't expected behavior indeed if you haven't reconfigured the sampler. Can you try enabling debug logging -Dotel.javaagent.debug=true to see if there are any errors logged?

https://github.com/open-telemetry/opentelemetry-java-instrumentation#troubleshooting

from aws-otel-lambda.

otj202 avatar otj202 commented on July 24, 2024

Hey, I dont think I can pass a system property because i'm running on lambda. can i set an environment variable to do this?

from aws-otel-lambda.

anuraaga avatar anuraaga commented on July 24, 2024

@otj202 Ah yeah, then you can do OTEL_JAVAAGENT_DEBUG=true

from aws-otel-lambda.

otj202 avatar otj202 commented on July 24, 2024

Im getting this error:

java.lang.ClassNotFoundException: io.grpc.netty.NettyChannelProvider

and then later

[opentelemetry.auto.trace 2021-08-31 00:59:57:945 +0000] [main] DEBUG io.opentelemetry.extension.trace.propagation.B3PropagatorExtractorMultipleHeaders - Invalid TraceId in B3 header: null'. Returning INVALID span context.

, but the second one only appears sometimes!

I made 10 requests and none of them tracked the call to DynamoDB in XRay. They only tracked invocation/overhead, and showed the above error in logs.

Then after that went cold(got deallocated on lambda), I made 20 requests and all of them tracked the call to DynamoDB in XRay, and didnt show the error.

Maybe Its an error that occurs on the initialization of the lambda function?

from aws-otel-lambda.

otj202 avatar otj202 commented on July 24, 2024

any progress on this? I've just been using the XRAY sdk in the mean time, but would prefer to use this .

from aws-otel-lambda.

github-actions avatar github-actions commented on July 24, 2024

This issue is stale because it has been open 90 days with no activity. If you want to keep this issue open, please just leave a comment below and auto-close will be canceled

from aws-otel-lambda.

github-actions avatar github-actions commented on July 24, 2024

This issue was closed because it has been marked as stale for 30 days with no activity.

from aws-otel-lambda.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.