Troubleshooting

Why don't I have any profiles?

If you aren't running on Google Cloud Platform (GCP), you must create a service account and link the Profiler agent to your GCP project. For more information, go to Profiling outside of Google Cloud Platform.

If you are running on GCP and deploying a container on Compute Engine, you need to specify your GCP project ID in the Profiler agent start command. For instructions, go to Linking the agent to a GCP project.

I clicked a frame and my graph changed. What do I do now?

If you click a frame, the flame graph is redrawn and changes how the graph is displayed. Clicking a frame doesn't change any settings:

  • To restore a standard flame graph to its original state, click the root (top) frame. For more details, go to What happens if I click on frame?.

  • To restore a focused flame graph to its original state, click the frame that displays the value of the Focus filter. For example, if your filter bar contains Focus: Sort, click the frame with the label Sort. For more details, go to Effect of clicking on a frame.

I clicked Now and my graph changed. What happened?

When you click Now, the End time field changes. When the range of time changes, Profiler identifies all of the available profiles that meet the new range of time and randomly selects 250 for analysis. This action might change your graph because different profiles are included in the analysis.

For more information, go to Range of time.

What is the difference between focus, show from frame, and show stacks filters?

For a discussion and an example of these three features, go to Focused graph explained.

What is the difference between total and self?

Total refers to the metric consumption of a function and its children. Self refers to the metric consumption of a function excluding that of its children.

Оцените, насколько информация на этой странице была вам полезна:

Оставить отзыв о...

Текущей странице
Stackdriver Profiler
Нужна помощь? Обратитесь в службу поддержки.