Comments (4)
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.
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.
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.
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)
- Steps to build and download a private Python lambda layer as a local .zip or .tar file? HOT 1
- Trace is broken in Lambda Java17 Runtime HOT 2
- Traces are not flushed to the server before the lambda terminates HOT 6
- Unable to access Lambda layer for Python with x86_64 architecture HOT 5
- docs: document of supported python version is old HOT 1
- 53612: bind: address already in use HOT 5
- [nodejs lambda layer] no metrics is exported to cloudwatch logs HOT 4
- Decouple processor needs to be added HOT 9
- Does not work with custom metrics HOT 4
- Request to include the awskinesisexporter HOT 3
- awsemf exporter won't create any log group, nor generating any metrics HOT 4
- Public ARN of aws-otel-nodejs-amd64 v1.18.1 is too large HOT 2
- Support for ES6 imports and exports when using aws-otel-nodejs lambda layer HOT 3
- Which version of the collector image contains https://github.com/open-telemetry/opentelemetry-lambda/pull/310? HOT 2
- ADOT Collector Dropping Exports in Lambda Environment HOT 4
- Question - ADOT Lambda Layer Nodejs - SQS AWSTraceHeader is not propogated to Lambda HOT 2
- mongodb spans not generated HOT 2
- Spans are broken if not using X-RAY HOT 2
- ADOT Lambda Layer local testing HOT 1
- Unable to get tracecontext or trace-id using SDK API | NodeJs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-otel-lambda.