-
Notifications
You must be signed in to change notification settings - Fork 241
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
Can't filter out noisy events from Lambda due to outdated OTel collector version (v0.39.0, last released 3 years ago) #2750
Comments
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days. |
Commenting so the GitHub bot doesn't close it 😅 |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days. |
commenting again so it doesn't close it |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days. |
That Github actions bot is so silly. This is the last time i'll comment but I'm giving up on AWS ever fixing this. |
Describe the question
TLDR: Hi, I'm trying to filter out noisy spans using the filterprocessor + ottl in the collector config. It appears that I'm not able to do that because the collector version used in that Lambda layer is v0.39.0, which was last released 3 years ago. Filterprocessor requires at least 0.66.0, according to these Honeycomb docs. In terms of my ask - it would be fantastic if AWS could release a version of the AWS Lambda Layer that would support filterprocessor.
I created a demo to make it as easy to reproduce the issue: https://github.com/kmcquade/otel-lambda-failure-example. I hope this helps. Just clone it and run these commands:
Use case
I am trying to filter out noisy spans using the filterprocessor + ottl on the collector side. We enabled Boto instrumentation in OpenTelemetry but our flame graph is getting littered with a lot of requests. 99% of the time, it is too much information, but sometimes it is helpful to include a span about the AWS API calls. For example, if a call to S3 takes over a certain amount of seconds, or if there's downtime for an AWS API that affected a call.
Here's an example of noisy spans that I want to be able to filter out:
I tried modifying my Lambda Otel collector config to use this:
But I get an Extension.Crash in the Lambda function with a message like this:
Steps to reproduce if your question is related to an action
See this GitHub repository that I created to demonstrate this issue: https://github.com/kmcquade/otel-lambda-failure-example
What did you expect to see?
Environment
See the example repository mentioned above.
See the example repository mentioned above.
The text was updated successfully, but these errors were encountered: