Git Product home page Git Product logo

Comments (2)

stephenhong avatar stephenhong commented on July 4, 2024 2

Hello Nathaniel, it is working now. I just needed to add http parameter under otlp receiver in my config.yaml file. Thank you.

from aws-otel-lambda.

NathanielRN avatar NathanielRN commented on July 4, 2024

Hey Stephen! Thanks for raising this issue.

Hmm, the current nodejs layer should be working because we have daily tests that check that the Layer can send traces to the Collector, and that the Collector can send traces to the AWS X-Ray service, so that finally we can pull that Trace and validate its contents across every AWS region where the layers are published. For example, you can see the retrieved trace map for this test that uses the nodejs-1-0-0 layer.

However, the tests use an OTel Collector running locally within the same layer. Actually, all the layers (besides the collector layer do this). Connecting the OTel NodeJS SDK (inside the layer) to an OTel Collector has been notoriously difficult at times 🙂. Can you describe how/why you send to a different collector from the ADOT Collector package within the layer? The ADOT Collector is just a subset of the OTel Collector Contrib. That would probably involve setting the OTEL_EXPORTER_OTLP_ENDPOINT environment variable and providing necessary permissions for the layer to access that EC2 instance.

Please let me know if this makes sense! 🙂

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.