Skip to content

Commit 9f587c9

Browse files
summerscopeViicos
andauthored
Add documentation for public traces (#1293)
Co-authored-by: Viicos <[email protected]>
1 parent a27ea3f commit 9f587c9

File tree

3 files changed

+43
-0
lines changed

3 files changed

+43
-0
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Public Traces
2+
3+
Public Traces lets you to create shareable links for specific traces. Perfect for collaborating with anyone who doesn't have Logfire access, or sharing debugging information.
4+
5+
## Overview
6+
7+
When you create a public trace link, anyone with access to the link can view the complete trace data, **including all spans and their attributes**. This is particularly useful for:
8+
9+
- Sharing debugging information with external collaborators
10+
- Providing trace examples in support tickets
11+
- Collaborating across teams without granting full project access
12+
13+
## Creating a Public Trace
14+
15+
1. Navigate to any trace in your project
16+
2. Select the inner span you want to highlight (optional)
17+
3. In the details panel, click the **Private** button
18+
19+
![Private button](../../images/public-traces/private-button.png)
20+
21+
4. Configure the link expiration
22+
5. If you want the link to navigate to the inner span you've selected, use **This span selected**, otherwise uncheck this and the public link will point to root span of the trace.
23+
6. Click **Create** to generate the shareable link
24+
25+
!!! warning
26+
Due to data retention limits, the shared data might expire before the selected expiration.
27+
28+
## Managing Public Traces
29+
30+
All public trace links are managed in the **Shared Traces** section under Project Settings. From here you can:
31+
32+
- View all active public links with their trace/span IDs
33+
- See creation dates and expiration times
34+
- Copy existing public links
35+
- Delete public links when no longer needed
36+
37+
## Security Considerations
38+
39+
- Public traces are accessible to anyone with the link
40+
- Consider the sensitivity of the data before creating public links
41+
- Use appropriate expiration times to limit exposure
42+
- Regularly review and clean up unused public links
33.3 KB
Loading

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ nav:
8585
- Alerts (Beta): guides/web-ui/alerts.md
8686
- Saved Searches: guides/web-ui/saved-searches.md
8787
- SQL Explorer: guides/web-ui/explore.md
88+
- Public traces: guides/web-ui/public-traces.md
8889
- Understanding your Usage: logfire-costs.md
8990
- How To - Guides:
9091
- Create Write Tokens: how-to-guides/create-write-tokens.md

0 commit comments

Comments
 (0)