|
| 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 | + |
| 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 |
0 commit comments