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

推荐订阅源

腾讯CDC
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - Franky
博客园_首页
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
IT之家
IT之家
The Cloudflare Blog
V
Visual Studio Blog
罗磊的独立博客
T
Tailwind CSS Blog
S
SegmentFault 最新的问题
Hugging Face - Blog
Hugging Face - Blog
V
V2EX
阮一峰的网络日志
阮一峰的网络日志
D
Docker
Last Week in AI
Last Week in AI
B
Blog RSS Feed
C
Check Point Blog
J
Java Code Geeks
The GitHub Blog
The GitHub Blog
有赞技术团队
有赞技术团队
博客园 - 聂微东
MongoDB | Blog
MongoDB | 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
Monitor runtime metrics from OTel-instrumented apps with ...
2023-07-11 · via Datadog | The Monitor blog

OpenTelemetry (OTel) is an open source, vendor-neutral observability framework that supplies APIs, SDKs, and tools for the instrumentation of applications and services. As part of our ongoing commitment to OTel, we are excited to announce support for the ingestion and visualization of runtime metrics from OTel-instrumented applications in Java, .NET, and Go. Runtime metrics provide deep visibility into your applications’ resource usage, such as memory usage, garbage collection, parallelization and more.

By sending runtime metrics from OTel-instrumented services to Datadog, you can gain additional insights for troubleshooting issues throughout the Datadog platform. This complements Datadog’s existing support for runtime metrics through our native tracing libraries, allowing you to get comprehensive visibility into all your applications, regardless of whether they are instrumented with Datadog or OTel SDKs.

In this post, we’ll look at how you can visualize and monitor runtime metrics in context with other data from your applications. But first, we’ll walk through how you can set up Datadog to collect runtime metrics from applications that have been instrumented with OTel SDKs.

Sending OTel runtime metrics to Datadog

In order to collect runtime metrics, your application needs to be set up with the respective runtime library for its language. These libraries are automatically enabled when using OTel automatic instrumentation, or you can manually enable them if you’re using OTel manual instrumentation. To send telemetry data (such as traces, logs, and metrics) to the Datadog backend, you can either ingest data with the Datadog Agent or send data to the OpenTelemetry collector and use the Datadog exporter to forward it to Datadog, as described in our documentation.

In order to visualize runtime metrics in dashboards and throughout the Datadog platform, you’ll also need to navigate to the language-specific integration tile (e.g., the Java tile shown below) and click “Install Integration.”

In order to visualize runtime metrics from your OTel-instrumented applications in Datadog, you'll need to install the language-specific integration.

Visualizing OTel runtime metrics in Datadog

Once your application is sending runtime metrics to the Datadog backend, you’re ready to view them on our platform. APM service pages enable you to get a quick overview of the health and performance of the services you’re monitoring with Datadog. Now, you can also view runtime metrics in the service page for any OTel-instrumented service. For example, the JVM Metrics tab displays runtime metrics specifically from adservice, a service that has been instrumented with the Java OTel SDK.

OTel runtime metrics are visible on Datadog APM service pages.

You can also use runtime metrics to gather more context around specific traces. By clicking to inspect a trace, you can access the flame graph and view runtime metrics in the Metrics tab. This view correlates the selected trace with runtime metrics from the same host and service, providing you with a snapshot of your application’s performance at the exact time of the trace. This can be useful for investigating incidents associated with suspect traces or for observing usage metrics for more costly operations.

The trace view correlates the selected trace with runtime metrics from the same host and service.

Out-of-the-box visibility into OTel runtime metrics

Datadog provides language-specific dashboards for all your runtime metrics, whether they come from services that have been instrumented with OpenTelemetry or Datadog’s native tracing libraries. For example, the out-of-the-box JVM runtime metrics dashboard displays metrics for all of your Java services. If you need to investigate an issue with a specific service or subset of your environment, you can use template variables to filter metrics by host, environment, or service, as shown below. This dashboard can also help you spot issues, such as steadily increasing heap usage, and investigate them before they degrade application performance.

Datadog's out-of-the-box JVM runtime metrics dashboard.

Enhance your observability today

With our expanded support for OTel runtime metrics, you can now gain additional insights into the performance of OTel-instrumented services, alongside all the other services you’re already monitoring with Datadog. This gives you more visibility into metrics such as memory usage, garbage collection, and parallelization, enabling your engineering teams to optimize application performance through a single lens.

Check out our documentation to learn more about collecting runtime metrics from OTel-instrumented apps in Datadog. If you’re not already a Datadog customer, sign up for a 14-day free trial today.