Coder Social home page Coder Social logo

Comments (4)

wangzlei avatar wangzlei commented on August 27, 2024

Hi,

The collector inlined in OTel Lambda Python layer is based on aws-otel-collector, so, not all of exporters are supported. Except the strategy reason, we don't involve all of Collector components because we have to control the size of Lambda dependencies due to Lambda limits.

As a workaround, you can build your custom layer, involve the third party exporter you need based on your config. Please see code:
https://github.com/aws-observability/aws-otel-lambda/blob/main/extensions/aoc-extension/cmd/aoc-lambda-extension/main.go#L24
and
https://github.com/aws-observability/aws-otel-collector/blob/main/pkg/lambdacomponents/defaults.go

from aws-otel-lambda.

katiewest820 avatar katiewest820 commented on August 27, 2024

Hey @wangzlei,

Sorry I don't think I explained very well what has been done so far. Yes I have been able to successfully create a custom layer pulling in the New Relic exporter, involving the code you linked.

With these modifications I am able to get the spans generated by actions performed within the function invocation. But what is missing is the upstream span data. In order for this feature to be useful I need to be able to export a complete trace to the third party exporter. This appears to not be possible at the moment?

Is there a way or a future plan to allow users to configure the aws-otel-collector and third party exporter from other AWS services?
My example is API Gateway; I can only export to X-Ray or CloudWatch but in order to collect a complete trace I need to have a way to export those spans to New Relic from somewhere in AWS.

from aws-otel-lambda.

wangzlei avatar wangzlei commented on August 27, 2024

Do you mean the spans of API gateway and Lambda service? Those spans are generated by Xray API and sent to xray directly. OpenTelemetry can only handle the span in Lambda container.

from aws-otel-lambda.

EddieEldridge avatar EddieEldridge commented on August 27, 2024

The collector inlined in OTel Lambda Python layer is based on aws-otel-collector

Is this still the case? i.e If I want to find a list of all the available components for the packaged Collector, I should look here ?

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.