Explore Cloud Trace

 Explore Cloud Trace

Every request to your application is added to the Trace list. On the Navigation menu (Navigation menu icon), click Trace.

The overview screen shows recent requests and allows you to create reports to analyze traffic. Because your program is new and has only one page, it's not very interesting, but in a real app there would be lots of useful information.

Click Trace list.

This shows a history of requests and their latency. Again, it's not very exciting because the application hasn't been running for very long. The chart in the upper-left plots requests and how long they took. The table to the right shows a list of requests. If you select a request, more detail will be displayed at the bottom of the screen.

Return to the SSH window where you entered the Apache Bench command previously.

Enter the ab command again:

ab -n 1000 -c 10 https://<your-project-id>.appspot.com/

You can also experiment with different values for the -n and -c parameters.

Repeat this a couple of times, and then return to the Trace list page.

Post a Comment

0 Comments