Metrics of containers in the cloud
One of the benefits of working in a cloud environment is that it comes with many functionalities out of the box. Next to automated backup and scaling, monitoring is another one.
In this section, we will briefly touch upon the monitoring capabilities that come standard with a cloud environment. The functionality shown here is specific to Microsoft Azure, but other cloud environments offer a similar functionality.
Once the container instance has been started, you have the option to look at its metrics.
To do so, select the Metrics option under the Monitoring heading on the menu bar at the left. You should then see a screen like this:
Figure 9.17 – Overview of container metrics
This view shows the basic metrics for an application—its CPU usage, the amount of memory used, and the number of bytes sent and received over the network. These metrics are always available, and rightfully so, because they are...