Introducing Java SpecialAgent: Start Tracing without Writing Any Code

| | Announcements, OpenTracing

We’re excited to announce Java SpecialAgent!

It’s 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.

How Do I Get SpecialAgent for Python/Ruby/My Favorite Language?

We’re partnering with the OSS community to build a version of SpecialAgent for all commonly used frameworks.

We’ll be announcing support for other languages and frameworks on Twitter.

We're Hiring!

Add your talent and experience to our team of friendly, low-ego, and motivated people.