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

推荐订阅源

WordPress大学
WordPress大学
H
Help Net Security
Jina AI
Jina AI
V
V2EX
G
Google Developers Blog
B
Blog
GbyAI
GbyAI
U
Unit 42
爱范儿
爱范儿
腾讯CDC
Engineering at Meta
Engineering at Meta
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 三生石上(FineUI控件)
宝玉的分享
宝玉的分享
小众软件
小众软件
D
DataBreaches.Net
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - Franky
博客园 - 聂微东
The Cloudflare Blog
I
InfoQ
Microsoft Azure Blog
Microsoft Azure Blog
Hugging Face - Blog
Hugging Face - 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
Expanded Datadog Lambda extension capabilities with the A...
Jordan Obey · 2022-11-10 · via Datadog | The Monitor blog
Jordan Obey

Jordan Obey

Senior Technical Content Writer

In 2021, we partnered with AWS to develop the Datadog Lambda extension which provides a simple, cost-effective way for teams to collect traces, logs, custom metrics, and enhanced metrics from Lambda functions and submit them to Datadog. Now, AWS has updated their Lambda Logs API with the release of the Lambda Telemetry API, which expands the volume of observability data available for collection and enables the latest version of the Datadog Lambda extension to provide even deeper visibility into the performance of your Lambda functions.

In this post, we’ll look at how the AWS Lambda Telemetry API expands the capabilities of the Datadog Lambda extension by:

  • visualizing the impact of cold starts with cold start trace spans

  • providing deeper insight into Lambda function performance with new enhanced metrics

Visualize the impact of cold starts on your function with cold start spans

When Lambda functions experience a spike in traffic and scale out or are invoked after a long idle period, they may experience a latency increase referred to as a cold start, which can significantly degrade end-user experience. Datadog already automatically flags functions invoked with a cold start with a cold_start tag and notifies you whenever cold starts occur at an anomalously high rate.

With additional data available through the Lambda Telemetry API, Datadog now also visualizes cold starts as spans within a serverless trace so you can see the impact of cold starts on your Lambda functions. For example, if you are exploring the Serverless View and notice a function invocation is tagged with a cold start insight, you can navigate to that function’s associated trace to view the duration of that cold start and determine its severity and overall impact. You can then decide whether it’s necessary to take remediating steps such as allocating more memory to your functions or enabling provisioned concurrency.

A cold start span within a serverless trace visualizing the impact of a cold start on a Lambda function.
A cold start span within a serverless trace visualizing the impact of a cold start on a Lambda function.
A cold start span within a serverless trace visualizing the impact of a cold start on a Lambda function.

Gain deeper visibility into Lambda function performance with new enhanced metrics

The Lambda Telemetry API enables the Datadog Lambda extension to provide additional enhanced metrics such as ResponseDuration, ResponseLatency, and ProducedBytes for further end-to-end visibility into the execution of your Lambda functions. These additional metrics complement our current library of enhanced metrics by giving you a fuller view of the Lambda execution lifecycle. So now, in addition to monitoring and alerting on previously available enhanced metrics—such as aws.lambda.enhanced.invocations and aws.lambda.enhanced.errors—you can monitor and alert on the size of a function response (aws.lambda.enhanced.produced_bytes), the time in milliseconds from when an invocation request is received to when the first byte of a response is sent to a client(aws.lambda.response_latency), and the elapsed time in milliseconds between when the first and last byte of a response is sent to a client (aws.lambda.response_duration).

These new enhanced metrics are available in the Serverless View and the out-of-the-box AWS Lambda (Enhanced Metrics) dashboard and will help you spot and troubleshoot Lambda function performance issues. For example, even if no cold starts are detected, you might see an unusual spike in the time it takes a Lambda function to fully execute its response to a request—prompting you to investigate further and remediate.

New enhanced metrics provide even deeper insight into Lambda function performance.

Expand your view of Lambda function performance today

With the release of the Lambda Telemetry API, the Datadog Lambda extension now provides you with an expanded look into the performance of Lambda functions through cold start trace spans and additional enhanced metrics. You can monitor this expanded Lambda performance telemetry alongside the CloudWatch Lambda metrics already available through our AWS integration, as well as logs from other AWS services such as Amazon S3, API Gateway, and DynamoDB via the Datadog Forwarder function.

To update to the latest version of the Datadog Lambda extension, click here.

If you’re not already a Datadog customer, sign up today for a 14-day free trial.