The Trace Overview page in the GCP Console displays a snapshot of last-day latency data for your application, and allows you to drill into individual traces for more details.
Note: The data in this view may not be from the previous calendar day. It shows data for the last day on which latency data was collected, within the last 7 days.
The Trace Overview page displays:
- A list of performance insights that can help you understand how to reduce your application's latency.
- Lists of the most frequent application requests and RPC calls with their average latencies.
- An analysis report that displays overall latency for requests that make RPC calls, and compares requests in the last day and the previous day.
- A list of the most recent traces with their latency and the time they were made.
- A billing summary of your chargeable trace spans.
View the Trace Overview
Open the Trace Overview for your project. This is the default view in Stackdriver Trace. Click the Overview tab to return to this view at any time.
Note: If you enabled Trace within the last day, no latency data appears on the Trace Overview page. Trace prompts you to create a custom analysis report instead.
View Trace Insights
The Insights panel on the Trace Overview page displays a list of performance insights for your application, if applicable.
The Insights panel highlights common problems in your application and can
help you reduce latency. For example, an insight might report that your
application is making too many consecutive calls to the Cloud Datastore
put() operation and that you might reduce latency if you batch the operations
Click an insight to view detailed information about it. The Insights section of the Trace Details page describes the potential problem and recommends steps to take.
View frequent requests
The Most frequent URIs panel on the Trace Overview page displays a list of URIs for the most frequent requests to your application during the last day, along with their average latency.
Click any URI to view a trace list that allows you to browse latency data for matching requests. By default, this list only shows those requests that occurred within the last day. You can adjust the date range to see additional requests.
From the trace list, you can view detailed information about any individual request.
View frequent RPC calls
The Most frequent RPCs panel on the Trace Overview page displays a list of the most frequent RPC calls made by your application during the last day, along with their average latency.
To browse latency data for requests where the matching RPC call was made, click an RPC name.
View the most recent traces
The Most recent traces panel on the Trace Overview page displays the most recent traces for a project.
Click a trace to view trace details.
View traces across projects
You can set up Trace to show trace spans from projects calling into your target project as well as trace spans from other projects servicing requests for your target project.
See Viewing traces across projects for details.
View the analysis report
The Daily analysis report panel on the Trace Overview page shows an overall view of the latency for requests to your application in the last calendar day, and compares it with latency data for requests from 7 days before. This report is automatically generated, and is a simpler version of the full analysis reports that you can create in Trace.
See Analysis Reports for more information on viewing and creating reports in Trace.
View your billing data
The Chargeable Trace Spans panel on the Trace Overview page provides you with two metrics:
- This month's trace spans ingested tells you the number of trace spans created and received by Trace since the first day of the current calendar month for your GCP project.
- Last month's trace spans ingested tells you the total number of trace spans created and received by Trace in the last full calendar month for your GCP project.
For details on Stackdriver Trace costs, see Stackdriver Pricing.
See the following resources for further instructions on how to use Stackdriver Trace in the GCP Console: