Documentation Index
Fetch the complete documentation index at: https://launchdarkly-preview.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
What is Distributed Tracing?
Distributed tracing allows us to understand the performance and monitor the execution of complex distributed applications that span multiple services. It links operations across services together into a single trace, making it easier to identify bottlenecks and debug issues.Installing the Launch
Darkly SDK To instrument distributed tracing in Next.js, you first need to add the LaunchDarkly SDK to your Next.js client code. This automatically injects trace headers into outgoing requests from the browser.
Visualize Traces Across Your Entire Service Stack
With this distributed tracing setup, you can collect end-to-end traces spanning the client, Next.js backend, and all microservices. A tool like LaunchDarkly is critical for collecting and visualizing these traces. The waterfall visualization clearly shows the timing of each operation and their parent/child relationships, making it easy to pinpoint performance issues across services.