Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions docs/product/tracing/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
title: Tracing
sidebar_order: 20
description: "Learn about using tracing and distributed tracing for observing and debugging application performance issues. You'll see the impact of errors across your full stack and microservices."
---

## Tracing

Tracing is the process of capturing the timing and flow of requests and operations as they happen throughout your application. It can be a powerful debugging tool, helping you identify which link in a sequence of events is causing a problem.

### What's Distributed Tracing?

Distributed tracing provides a unified view of how a single request moves from the frontend to the backend and beyond. This is particularly useful in modern applications, which are often composed of multiple services working together. To get a distributed view of your application, instrument Sentry in both your frontend and your backend.

With distributed tracing, you can identify performance bottlenecks that are affecting your application no matter where in your application's workflowthey occur. You can then use Sentry tools such as the Trace Explorer or Trace View page to dig deeper and find the root cause of the problem. Distributed tracing is particularly helpful for identifying problems you can't just debug using console logs, such as race conditions, N+1, and caching issues.

### What's a Trace?

Each trace has a string of globally unique characters called a trace ID, that's shared by both frontend and backend services they help connect all the actions that take place to make an event such as a button click or a page scroll. Each trace is composed of multiple spans.

### What's a Span?
A span is a named, timed operation that represents a part of the application workflow. It provides granular insights into specific tasks, like API requests or database queries. Multiple spans are pieced together to create a trace. providing a comprehensive view of its path, timing, and interactions for troubleshooting and performance analysis.

### What's a Transaction?

Transactions are a Sentry-specific unit of measurement that references any event that users send to Sentry. In addition to standard event fields, transactions also contains child spans and have a unique transaction ID.
2 changes: 1 addition & 1 deletion src/components/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export function Header({pathname, searchPlatforms, noSearch}: Props) {
href="https://sentry.io/signup/"
className="transition-all duration-300 ease-in-out hover:bg-gradient-to-r hover:from-[#fa7faa] hover:via-[#ff9691] hover:to-[#ffb287]"
>
Start For Free
Get Started
</NavLink>
</Fragment>
<ThemeToggle />
Expand Down
2 changes: 1 addition & 1 deletion src/components/mobileMenu/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export function MobileMenu({pathname, searchPlatforms}: Props) {
<Link href="https://sentry.io/">Sign In</Link>
</DropdownMenu.Item>
<DropdownMenu.Item className={styles.DropdownMenuItem} asChild>
<Link href="https://sentry.io/signup/">Start For Free</Link>
<Link href="https://sentry.io/signup/">Get Started</Link>
</DropdownMenu.Item>
</DropdownMenu.Content>
</Theme>
Expand Down
Loading