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

推荐订阅源

H
Help Net Security
G
Google Developers Blog
aimingoo的专栏
aimingoo的专栏
博客园 - 聂微东
酷 壳 – CoolShell
酷 壳 – CoolShell
小众软件
小众软件
Stack Overflow Blog
Stack Overflow Blog
美团技术团队
博客园_首页
T
Tailwind CSS Blog
博客园 - 三生石上(FineUI控件)
B
Blog
D
DataBreaches.Net
腾讯CDC
C
Check Point Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
U
Unit 42
月光博客
月光博客
V
V2EX
Vercel News
Vercel News
T
The Blog of Author Tim Ferriss
The Cloudflare Blog
博客园 - 叶小钗
Y
Y Combinator 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
Real-time distributed tracing for .NET Lambda functions
Jordan Obey · 2022-03-15 · via Datadog | The Monitor blog
Jordan Obey

Jordan Obey

Senior Technical Content Writer

In 2020 we released distributed tracing for AWS Lambda functions written in Python, Node.js, and Ruby, providing you with health and performance insights across your serverless applications. Since then, we’ve expanded our support to additional Lambda runtimes such as Java and Go, and are pleased to announce that real-time distributed tracing is now also available for .NET Lambda functions. Our .NET Lambda function tracing feature is powered by the Datadog Lambda Extension to ensure .NET developers can trace all requests across their entire infrastructure with minimal overhead.

In this post, we’ll look at how tracing .NET Lambda functions can help you identify and resolve issues such as exception errors and cold starts, which can degrade performance and negatively impact the end-user experience.

Trace .NET Lambda requests across any infrastructure

Datadog APM provides an end-to-end view of requests as they traverse any component of your infrastructure, including Lambda functions, containers, and on-prem hosts. This comprehensive visibility enables you to easily spot pain points anywhere in your system without code or configuration changes. For example, your application may run in a hybrid environment with .NET Lambda functions that are invoked by local and cloud-hosted services. If you notice a spike in latency, you can follow request traces across your entire infrastructure to identify bottlenecks and determine whether .NET Lambda function errors are behind the issue.

Spot code-level issues in your .NET Lambda functions

Besides providing you with a high-level view of request paths, Datadog APM can also help you discover code-level issues in your .NET Lambda functions. For example, function spans may be marked with divide-by-zero or null reference errors, indicating that your functions are encountering unexpected exceptions that require mitigation. You can also check whether Lambda functions that include WebRequest.GetResponse methods are returning WebExceptions generated by network errors, which can contribute to latency.

Trace .NET Lambda functions to discover code-level issues.

Detect cold starts automatically

Cold starts occur when Lambda functions take longer to initiate after periods of inactivity, and they can negatively impact the overall performance of your serverless application, regardless of runtime. In .NET, a time-consuming process called just-in-time (JIT) compilation, which converts programming languages into machine code as it is being executed, can contribute to the duration of cold starts. Because Datadog automatically flags cold starts with a cold_start tag, you can easily isolate your .NET Lambda traces with cold starts and view their durations. If you discover an increase in the duration of cold starts, consider implementing ReadyToRun (R2R) compilation in your application, which can help reduce cold start times by compiling code before it’s executed.

Get started with .NET Lambda tracing today

Datadog APM, which now includes full support for .NET Lambda functions, helps you gain real-time visibility into your serverless applications by enabling you to view trace requests from end to end. You can also easily correlate .NET traces with other serverless telemetry available through Datadog’s Lambda Library and Lambda Extension, including logs and enhanced metrics, to gain further insight into any issue. To learn more about serverless tracing with Datadog, please read our documentation. If you’re not already a Datadog customer, sign up today for a 14-day free trial.