Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Per impostazione predefinita, la pagina Esplora tracce cerca i dati di traccia solo nel progetto selezionato. Quando una traccia contiene dati archiviati in più progetti, come può accadere quando un'applicazione in un progetto effettua una chiamata a un'applicazione ospitata da un altro progetto, devi eseguire i seguenti passaggi per visualizzare tutti gli span nella traccia:
Crea un ambito della traccia che elenca i Google Cloud progetti che archiviano gli span in una traccia.
Per informazioni sugli ambiti dei traccianti, consulta
Creare e gestire gli ambiti dei traccianti.
I ruoli IAM (Identity and Access Management) nei progetti elencati nell'ambito del tracciato e l'impostazione dell'intervallo di tempo determinano i dati visualizzati. L'ambito della traccia
specifica solo le risorse in cui viene eseguita la ricerca.
Quando viene aperta la pagina Esplora tracce, vengono cercate le risorse elencate nell'ambito della traccia predefinito, se questo è accessibile. Quando questo ambito non è accessibile, viene eseguito una ricerca nel Google Cloud tuo progetto. Puoi impostare l'ambito della traccia predefinito.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-09-04 UTC."],[],[],null,["# View traces across projects\n\nBy default, the **Trace Explorer** page only searches your selected\nproject for trace data. When a trace has data stored in multiple projects,\nas might occur when an application in one project makes a call into\nan application hosted by another project, you need to perform\nthe following steps to view all spans in the trace:\n\n1. Create a trace scope that\n lists the Google Cloud projects that store the spans in a trace.\n For information about trace scopes, see\n [Create and manage trace scopes](/trace/docs/trace-scope/create-and-manage).\n\n2. Open the **Trace Explorer** page and set the scope to\n be the trace scope that you created in the previous step.\n For more information, see\n [Configure which projects are searched for span data](/trace/docs/finding-traces#refine-scope).\n\n Your Identity and Access Management (IAM) roles on the projects listed in the\n trace scope and the\n time-range setting determine what data is displayed. The trace scope\n only specifies which resources are searched.\n\n When the **Trace Explorer** page opens, it searches the\n resources listed in the [default trace scope](/stackdriver/docs/scopes/configure#default-scope),\n provided that scope is accessible. When that scope isn't accessible,\n your Google Cloud project is searched. You can set which\n trace scope is the default trace scope.\n\n| **Note:** The **Trace Explorer** and **legacy** **Trace Explorer** pages use different rules to search for trace data. The **Trace Explorer** page only searchs the projects you specify in a trace scope. In contrast, the **legacy** **Trace Explorer** page searches all projects in an organization. Because the **legacy** **Trace Explorer** page searches your organization, you can use it to help you identify the projects to add to your trace scope. For information about how to identify these projects, see [Migrate to trace scopes](/trace/docs/trace-scope/create-and-manage#migrate)."]]