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

推荐订阅源

让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
U
Unit 42
IT之家
IT之家
Y
Y Combinator Blog
T
Tailwind CSS Blog
B
Blog
大猫的无限游戏
大猫的无限游戏
博客园 - 叶小钗
Jina AI
Jina AI
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
I
InfoQ
J
Java Code Geeks
F
Fortinet All Blogs
T
The Blog of Author Tim Ferriss
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
H
Hackread – Cybersecurity News, Data Breaches, AI and More
人人都是产品经理
人人都是产品经理
腾讯CDC
Hugging Face - Blog
Hugging Face - Blog
GbyAI
GbyAI
博客园 - 司徒正美
The GitHub Blog
The GitHub Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
L
LangChain 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
Announcing APM & distributed tracing for Java applications
2018-02-01 · via Datadog | The Monitor blog
Julie Levine

Julie Levine

Last year, Datadog released application performance monitoring (APM) and distributed tracing to provide full-stack visibility, all the way down to the code level. Today we’re excited to announce that Datadog APM now includes support for Java, in addition to ongoing support for Ruby, Python, and Go applications.

Get more visibility into your Java applications with Datadog APM, which integrates with JDBC, Tomcat, and other technologies.
Java monitoring Datadog flame graph
Get more visibility into your Java applications with Datadog APM, which integrates with JDBC, Tomcat, and other technologies.

End-to-end Java monitoring

APM includes out-of-the-box support for automatically tracing requests to web servers such as Tomcat and Jetty, frameworks like Spring Boot and Dropwizard, and data stores like MongoDB and Cassandra, as well as database connections via JDBC. See our documentation for a full list of integrations. We’re continually adding support for more frameworks and libraries—email our support team if you’d like to make a request.

Once you deploy APM, you’ll gain access to a range of features that will help you monitor and optimize your Java applications, including:

  • end-to-end visibility with distributed tracing: follow requests as they travel across multiple hosts and microservices

  • detailed performance overviews: view out-of-the-box dashboards that provide latency distributions and percentiles for each monitored service, as well as a breakdown of how much each service contributes to aggregate latency

  • automated, algorithmic alerts: enable suggested alerts on key service-level indicators like latency and error rates (as shown below)—or set up custom alerts powered by algorithmic features like forecasting and anomaly detection

Java monitoring APM suggested alerts

Unifying the views

Because Datadog collects metrics from your applications and their underlying infrastructure, you can create custom dashboards that combine metrics from every layer of your stack. Below, we’ve created a custom dashboard that allows us to view infrastructure-level metrics (via Datadog’s integrations with Java and Tomcat) alongside APM metrics from our Java application.

Java monitoring APM + infrastructure dashboard

You can also view distributed request traces alongside host-level metrics, without switching contexts. In the screenshot below, the “Host Info” tab shows the time of this request overlaid in pink on each graph. This enables you to correlate each span with key metrics (e.g., network traffic, CPU usage, etc.) from the host where the work was executed. You’ll also be able to gain additional context about that host by looking at its tags.

Java monitoring APM + host-level metrics

As Datadog continues to enhance its log processing and management capabilities, you’ll gain even more insights into your applications by seamlessly transitioning between your Java logs, distributed request traces, and metrics.

Investigate and debug errors

You can inspect each flame graph to view metadata about each span, including the full stack trace for any errors encountered along the way. You can use this additional context to help you debug and troubleshoot any issues that may be impacting application performance.

Java monitoring APM + host-level metrics

Easy setup

APM can be deployed in minutes—simply install the Datadog Agent and the Java client on your application servers. Alternatively, you can deploy Datadog APM in Docker with our docker-dd-agent image.

APM includes built-in support for OpenTracing, the vendor-neutral, open standard for distributed tracing. Because it is a vendor-neutral standard, OpenTracing enables you to easily port your applications from one distributed tracing backend to another, with minimal changes to code-level instrumentation. In the example below, we’re measuring how long it takes to create a user and save it to the database.

public class UserCreator {

public User createUser(String fname, String lname) {

final Scope scope = GlobalTracer.get().buildSpan("createUser").startActive(true);

try {

User user = newUserImpl(fname, lname);

saveToDatabase(user);

return user;

} finally {

scope.close();

}

}

}

See our documentation for more instrumentation examples.

Get started with APM for Java

Java support for APM is now available in Datadog. If you don’t yet have a Datadog account, sign up for a free 14-day trial to get end-to-end visibility into your Java applications.