In today's world of microservices, serverless functions, and complex AI workflows, understanding what's happening inside your application is harder than ever. A single user request can trigger a cascade of events across dozens of services. When something slows down or breaks, pinpointing the root cause can feel like searching for a needle in a haystack of interconnected haystacks.
This is the problem that observability aims to solve. And at the heart of modern observability is a powerful, open-source standard: OpenTelemetry (OTel).
OpenTelemetry provides a universal toolkit for generating and collecting telemetry data (traces, metrics, and logs). But while the standard is powerful, implementing it can be complex. That's where trace.do comes in.
By combining the industry-standard foundation of OpenTelemetry with a simple, developer-first API, trace.do delivers on the promise of effortless observability and complete clarity. Let's explore why this combination is the perfect match for your team.
OpenTelemetry is a project of the Cloud Native Computing Foundation (CNCF) designed to standardize how we instrument, generate, and collect telemetry data. Before OTel, you were often locked into a specific vendor's proprietary agent, making it difficult to switch monitoring tools.
OTel changes the game by providing:
In short, OpenTelemetry gives you a powerful, flexible, and future-proof foundation for understanding your systems.
While OTel is brilliant, getting started can involve a steep learning curve and significant boilerplate code. Manually instrumenting your code to start traces, create spans, propagate context, and manage exporters can be verbose and time-consuming. This effort is often called the "instrumentation tax"—the development time you spend on monitoring plumbing instead of building features.
This is precisely the friction trace.do is designed to eliminate.
trace.do embraces a philosophy of Observability as Code. We believe that instrumentation should be a simple, elegant, and integrated part of your development workflow—not a cumbersome afterthought.
Instead of wrestling with low-level configuration, trace.do provides a clean, agentic workflow platform built directly on top of OpenTelemetry standards. You get all the benefits of OTel without the complexity.
See how simple it is to instrument a function with our SDK:
import { trace } from '@do/trace';
async function processOrder(orderId: string) {
// Automatically trace the entire function execution
return trace.span('processOrder', async (span) => {
span.setAttribute('order.id', orderId);
// The trace context is automatically propagated
const payment = await completePayment(orderId);
span.addEvent('Payment processed', { paymentId: payment.id });
await dispatchShipment(orderId);
span.addEvent('Shipment dispatched');
return { success: true };
});
}
With a single trace.span wrapper, you achieve several things automatically:
This code-driven approach turns complex observability tasks into a simple, programmatic workflow that lives right alongside your business logic.
trace.do doesn't replace OpenTelemetry; it perfects it for the developer. Here’s how they work together to create an unparalleled observability experience:
With trace.do and OpenTelemetry, you get the best of both worlds:
You Get... | Thanks to OpenTelemetry... | Thanks to trace.do... |
---|---|---|
Effortless Instrumentation | The underlying data model and collectors. | A simple trace.span API and code-driven workflows. |
Complete Clarity | A standardized way to connect spans into a full trace. | A unified view to monitor, debug, and optimize. |
Total Flexibility & No Lock-In | A vendor-neutral format and exporters. | Full compatibility with the entire OTel ecosystem. |
Application Performance Monitoring | The ability to capture timing for every operation. | The tools to instantly pinpoint bottlenecks and latency. |
Stop choosing between a powerful industry standard and a great developer experience. The combination of OpenTelemetry's robust foundation and trace.do's simple, code-driven approach gives you everything you need to master distributed tracing.
You can finally monitor complex business and AI workflows, diagnose performance issues in seconds, and resolve system-wide issues faster than ever before.
Ready to experience effortless observability? Get started with trace.do today and turn distributed tracing into your superpower.