DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
  1. DZone
  2. Coding
  3. Java
  4. Introducing Java SpecialAgent: Start Tracing Without Writing Any Code

Introducing Java SpecialAgent: Start Tracing Without Writing Any Code

Learn more about the new Java SpecialAgent.

Ted Young user avatar by
Ted Young
·
May. 20, 19 · News
Like (3)
Save
Tweet
Share
10.17K Views

Join the DZone community and get the full member experience.

Join For Free

Java SpecialAgent is an extensible OSS Java agent for OpenTracing that enables end-to-end tracing without having to write any code.

With only a single command-line entry for installation, SpecialAgent seamlessly connects to OpenTracing-compliant tracers  —  such as the Jaeger and LightStep tracers  —  allowing you to immediately start observing and propagating distributed traces.

What Makes SpecialAgent Different?

SpecialAgent was built by the OpenTracing community with contributions from the LightStep team. It is architected for compatibility, resiliency, and stability (you can read more about the architecture on the OpenTracing blog), and has a number of benefits:

  1. Automated. By automatically installing plugins, you can achieve end-to-end tracing without having to write any code.
  2. Extensible. SpecialAgent loads the same instrumentation you would load by hand. Adding new instrumentation plugins to SpecialAgent is easy, and anyone can extend the SpecialAgent to include their own plugins.
  3. Portable. Unlike proprietary agents, SpecialAgent can send data to any tracing system that supports OpenTracing.
  4. Robust. Safe and production ready. SpecialAgent can install all OpenTracing Java plugins, and runs on Java versions 1.7 and up.
  5. Seamless. SpecialAgent is able to do both static and dynamic attach, which means you can attach the agent to already-running programs without stopping.

Why Does This Matter?

Distributed traces capture and propagate critical details about transactions as they cross microservices boundaries.

Once you start aggregating and analyzing groups of traces, you can answer important questions about your system — quickly and with evidence:

  • Which service should we roll back?
  • Which host is overloaded?
  • Which customer is sending bad requests?
  • Will this optimization improve performance for my service?
  • What services is my service dependent on?

In order to take advantage of these insights, you first have to install tracers and plugins for every service. For large organizations, manual instrumentation can require some work.

This is where Java SpecialAgent comes into play — it makes instrumentation easy.

How Do I Get Started?

You can get started with Java SpecialAgent on GitHub, or sign up for a free trial of LightStep Tracing.

Let us know what you think in the comments below!

Java (programming language) code style

Published at DZone with permission of Ted Young, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • DevOps for Developers — Introduction and Version Control
  • A Deep Dive Into AIOps and MLOps
  • How Elasticsearch Works
  • Strategies for Kubernetes Cluster Administrators: Understanding Pod Scheduling

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: