-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Decouple processor needs to be added #842
Comments
Hello, could we please get some comments by AWS on this issue? It is blocking us from using this layer because the processor is not in this layer, despite being added to the underlying As an alternative, could someone provide clarification on the differences between using this ADOT OTEL layer and using |
Hello, ADOT Lambda Layer consists a subset of components from the upstream and we sometimes apply patches(backport) as needed for fixes to avoid breaking changes etc., more information on ADOT Lambda here |
Hi @vasireddy99 thank you for the response! Would you mind providing more direct answers to clarify the AWS team's stance on the following?
which indicates to me that this repo is a derived repo based on the previous one.
but what does that mean for me? do I want the reduced collector? what preconfiguration with AWS services were done? |
Hi Luke,
We don't enough info about the timeline on when it will be included, cc: @mhausenblas
yes we use opentelemetry-lambda repo as a git sub module
For the java lambda layers, we made a patch to avoid this breaking change, other than that for the other layers, no integration functionality is lost in general when using otel layers. if you are using the SDK layer with in-process exporter flushing the telemetry to the destination, reduced collector may not be necessary. |
ADOT PM here. Thanks @vasireddy99 for providing some answers already and to add to this thread:
At the current point in time it's not on our roadmap, but we're always looking for feedback (such as found in this convo) which then influences our prioritization.
Technical or feature considerations aside: the same holds for the Lambda layer as is true for other integrations such as the EKS add-on (using the upstream OpenTelemetry Operator internally): when using ADOT and you're on AWS Enterprise Support , then you can get direct support from AWS, whereas if you're using upstream directly (such as layers here in this case or the OpenTelemetry Operator in the Kubernetes context) then the support you can expect is mainly: 1. community based, and 2. on a best-effort basis (by ourselves) here via GitHub. |
I just want to add my voice to wanting to get this processor added, seems like it shouldn't be a lot of work to add it since its already a part of the collector. I'm stuck with not really being able to use this since I don't feel comfortable with the added latency that not having the decouple processor adds to user requests, but at the same time I can't use the awsxray trace support with the layers provided by the upstream repo. |
@mhausenblas @vasireddy99 The only way to make it async is by including decoupled processor which you are saying is still not part of the ADOT layer, nor is there a roadmap so far. In that case, I am failing to understand why aws doc is claiming that the process is async. |
@bhaskarbanerjee thanks for the question and will make sure that we fix the (docs) confusion. |
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 |
still relevant |
@mhausenblas can you please confirm if the docs are correct and that OTEL information is exported asynchronously, or if @bhaskarbanerjee 's interpretation is correct and it does in fact block the response to the client. |
@fitz-vivodyne I have confirmed with @mhausenblas that aws exports data synchronously. It seems the documentation is till not updated @mhausenblas |
It was, right after we discussed it, see: |
Hey @mhausenblas did that commit get merged and deployed? The page still reads the same. |
Hmmm, I see what you mean. Let me investigate. |
@bhaskarbanerjee thanks again for bringing this to my attention, it's published. |
Thanks for the follow up @mhausenblas. If so I'd like to add a +1, the layer would be a lot more compelling if the decouple processor was included and allowed us to trim some of the excess layer latency. |
Is your feature request related to a problem? Please describe.
We are currently exploring the possibility of utilizing the Decouple Processor, however, we've noticed that no processors are available as per the information provided on this link: aws-otel-lambda. This presents a challenge as the Decouple Processor offers unique features that could significantly enhance the performance of our Lambda layer.
Describe the solution you'd like
The Decouple Processor is specifically engineered to circumvent the limitations inherent in Lambda. It does this by reducing overhead and focusing on aspects that are directly relevant to Lambda, making it a more suitable choice compared to other processors. Therefore, it would be highly beneficial to include it in our setup.
One of the key advantages of the Decouple Processor is its awareness of the Lambda lifecycle. This means it can prevent the environment from being frozen or shut down until all pending traces/metrics/logs have been successfully exported. This feature alone could significantly boost the performance of the otel layer.
Furthermore, our Lambda is heavily utilized, processing millions of transactions. Without the Decouple Processor, these transactions could potentially slow down in the ADOT version, affecting overall performance.
Describe alternatives you've considered
We have considered switching to opentelemetry-lambda, but this alternative does not include the AWS services that we require.
In conclusion, the inclusion of the Decouple Processor in our setup could provide significant performance improvements, especially considering the high volume of transactions our Lambda processes. We believe this feature request is worth considering to enhance the efficiency and effectiveness of our operations.
The text was updated successfully, but these errors were encountered: