google / google/perfetto

Allow optional custom name when sharing a trace

Open
#3,583 1 comment 0 reactions 0 assignees View on GitHub
enhancement fixit
Dominant language
C++
Stars
6.5k
Forks
868
Avg merge
2d 1h
Merged PRs (30d)
218

Description

Currently, when using the "Share trace" functionality in the Perfetto UI, the system generates a permalink. However, there is no way to attach a human-readable name or description to this link at the time of creation. When sharing multiple traces or revisiting old shared links, it is difficult to distinguish them without analyzing each one.

Proposed Solution:
- Update the "Share trace" button to open a dialog to include an optional text input field (e.g., "Trace Name" or "Description").
- When generating the permalink, store this custom name alongside the trace metadata.
- When a user opens the unique permalink, display this name in the UI (e.g., in the top header bar or as the browser tab title).

If it's a simple change, I don't mind doing it myself :)

Contributor guide

Open the contributing guide

Research direction

Start with the Perfetto UI's "Share trace" button and its permalink-generation flow. Trace how shared-trace metadata is stored and rendered when a unique permalink is opened; done means an optional name or description can be entered, persists with the link, and appears in the UI or browser tab title.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.