惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

J
Java Code Geeks
S
SegmentFault 最新的问题
V
Visual Studio Blog
人人都是产品经理
人人都是产品经理
阮一峰的网络日志
阮一峰的网络日志
腾讯CDC
Stack Overflow Blog
Stack Overflow Blog
博客园 - 【当耐特】
Recent Announcements
Recent Announcements
I
InfoQ
U
Unit 42
博客园_首页
GbyAI
GbyAI
Hugging Face - Blog
Hugging Face - Blog
罗磊的独立博客
博客园 - 叶小钗
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
D
DataBreaches.Net
aimingoo的专栏
aimingoo的专栏
月光博客
月光博客
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园 - 聂微东
T
Tailwind CSS Blog
量子位

Datadog | The Monitor blog

Introducing our open source AI-native SAST Instrument and monitor Boomi integration flows with OpenTelemetry and Datadog Not all index scans are equal: How we cut query latency by over 99% Platform engineering metrics: What to measure and what to ignore Integrate Recorded Future threat intelligence with Datadog Cloud SIEM CI/CD security: threat modeling using a MITRE-style threat matrix CI/CD security: How to secure your GitHub ecosystem Ingress NGINX is EOL: A practical guide for migrating to Kubernetes Gateway API Operating agentic AI with Amazon Bedrock AgentCore and Datadog LLM Observability: Lessons from NTT DATA Introducing the Datadog Code Security MCP Capture and analyze custom heatmaps in Session Replay Understand session replays faster with AI summaries and smart chapters Monitor ClickHouse query performance with Datadog Database Monitoring How we designed empathetic alert sounds for on-call engineers Search and act across Datadog to resolve issues faster with Bits Assistant Measure the business impact of every product change with Datadog Experiments Analyzing round trip query latency Configuring JavaScript caches for better performance Introducing Bits AI Dev Agent for Code Security Datadog achieves ISO 42001 certification for responsible AI Monitor Nutanix clusters, hosts, and VMs with Datadog Monitor Juniper Mist in Datadog A new Host Map for modern infrastructure Annotate traces to improve LLM quality with Datadog LLM Observability What’s new in Cloud SIEM: AI-powered investigations, enhanced threat intelligence, and scalable security operations Explore Kubernetes with native OpenTelemetry data Monitor Oracle Fusion Cloud Applications with Datadog Announcing the Datadog Terraform provider v4.0.0 Scaling Kubernetes workloads on custom metrics How to design cloud environments for AI-powered threat analysis
Introducing Datadog's Lambda extension
2021-05-24 · via Datadog | The Monitor blog

AWS Lambda extensions enable you to seamlessly integrate third-party tooling with your Lambda environment so you can run custom code or monitoring agents alongside your functions. We’ve partnered with AWS to create a Lambda extension that offers a more cost-effective, simplified process for collecting data from your functions. You can now use the extension to collect function logs and any enhanced metrics, custom metrics, and traces generated by Datadog’s Lambda library and submit that data to Datadog as part of the function’s execution. This complements the CloudWatch Lambda metrics you already collect via our AWS integration as well as logs from other AWS services, such as API Gateway, DynamoDB, and Amazon S3, via Datadog’s Forwarder function.

Using the Datadog Lambda extension means you no longer need to maintain a separate piece of infrastructure or pay for additional data storage and processing in order to monitor the performance of your functions.

In this post, we’ll show how easy it is to install Datadog’s Lambda extension and start (or continue) monitoring your serverless applications.

Deploy Datadog’s Lambda extension across all your functions

The Lambda extension is distributed as a Lambda Layer or, if you deploy functions as container images, as a Docker dependency—both methods support Node.js and Python runtimes. The extension works in conjunction with the Datadog Lambda library to generate telemetry data and send it to Datadog, so you will need to install the library first.

Then, add the Lambda Layer for the extension to your functions with the following Amazon Resource Name (ARN):

arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Extension:<EXTENSION_VERSION>

Replace AWS_REGION and EXTENSION_VERSION with the appropriate values for your application. Note that you will need to use at least version 7 of Datadog’s Lambda extension.

If you are using tools like AWS SAM or the Serverless Framework to manage your functions, you can simplify the installation process even further via Datadog’s CloudFormation macro and Serverless plugin. These tools can be configured to automatically add the Datadog Lambda library and extension to your functions in order to seamlessly collect and send telemetry data. You can check out our documentation for more details about using these or other available methods to collect data from your Lambda functions.

Faster setup, same visibility into your functions

Once you have configured the Lambda extension, enhanced metrics—such as the estimated cost and memory usage of your functions—custom metrics, traces, and function logs will appear in Datadog in real time. You can use Datadog’s Serverless homepage to monitor all of your functions in one place and use tags to easily compare performance across specific groups of functions, such as those that support a business-critical application.

View all of your Lambda functions on the Serverless homepage

For deeper visibility into function performance, Datadog surfaces actionable insights that you can use to determine which functions are performing poorly and find the root cause of an issue. For example, Datadog will flag functions with consistently high memory utilization and provide more details, such as the Lambda resources that triggered the invocations.

Identify the functions that are consuming the most memory on the Serverless homepage

An easier, cost-effective way to monitor Lambda functions

With Datadog’s Lambda extension, you can continue monitoring your functions without the added cost or complexity of using a separate piece of infrastructure to forward Lambda data to Datadog. If you don’t already use Datadog to monitor your Lambda functions, you can check out our documentation to learn more or sign up for a free 14-day trial to start monitoring your serverless applications today.