Comments (3)
Hello @jalessio,
So indeed we should unified our recommendation across the different installation instructions.
I'll make sure that we do in the future.
That said, the memory and time used strongly depends of the type of data that are collected. Let me explain this.
Memory
It requires much more memory for ELB or ALB logs than for VPC or lambda logs.
Indeed ELB logs are created in batches every 5 minutes (in gzip files) whereas lambda logs are usually very small batches and do not consume much memory.
Therefore if you use ELB logs we recommend to set a higher memory limit.
Timeout
The lambda calls should almost never take more than a couple seconds, that said in case of network issues, it can be important to leave some time to the lambda to retry otherwise the logs cannot be sent.
Summary
Considering the above, you have to options:
- Optimised: If you do not have ELB logs: 124MB and 10 seconds should be fine
- Safe: with ELB logs, looking at the memory used by the lambda to send those would give you a good approximate of the required memory to forward those logs safely. I would recommend 512MB and 120seconds (but that depends obviously of the size of your ELB log batches).
Let me know if that clarifies the different options that you have.
from datadog-serverless-functions.
Thanks for the clarification! For ELB logs I guess we will monitor the memory usage of our lambda jobs and adjust accordingly but it's great to have reasonable starting point.
from datadog-serverless-functions.
Thanks for the feedback. I'll close this issue then.
The requirements to update the documentation to have it sync is tracked on our side and will be done this week.
Thanks again for helping us to improve the Datadog product.
from datadog-serverless-functions.
Related Issues (20)
- Create Terraform module to support the deployment Datadog's Log Forwarder HOT 2
- Feature Request: Support reading API Gateway Access Logs from an S3 bucket HOT 2
- Azure Auditing logs to Datadog through EventGrid streamed incorrectly
- AWS Cloudformation configuration does not allow configuration of DD_LOG_LEVEL
- Feature Request: Datadog Forwarder Cloudformation - configurable Cloudwatch log group storage class
- Add new region `ca-west-1` to Datadog-Forwarder layer HOT 1
- [BUG] DD_TAGS envar no effect
- Bug in parsing.py:get_service_from_tags_and_remove_duplicates()
- AWS S3 Bucket lifecycle rule for aborted multipart uploads
- AWS S3 Securityhub finding about target access-logs bucket not configured HOT 2
- Error: cannot open shared object file: No such file or directory HOT 1
- python runtime >= 3.11 required
- aws-dd-forwarder Timeout error after 3 sec
- CloudFormation Stack and Terraform Deployment Issues: Empty `index.py` File
- AWS Datadog forwarder 3.111.0 results in import error HOT 1
- Add TagFiltering Option with the DD Log Forwarder Parameters HOT 1
- AWS log forwarder CloudFormation template intermittently fails to deploy because it can't get the role ARN
- Bug of Datadog Service Attribute with AWS S3 HOT 2
- AWS log forwarder CloudFormation template fails to deploy because it can't call lambda:GetLayerVersion (AccessDenied) .
- Azure - Managed Identity use instead of SAS key connection string
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 datadog-serverless-functions.