Book Image

Monitoring Docker

By : Russ McKendrick
Book Image

Monitoring Docker

By: Russ McKendrick

Overview of this book

This book will show you how monitoring containers and keeping a keen eye on the working of applications helps improve the overall performance of the applications that run on Docker. With the increased adoption of Docker containers, the need to monitor which containers are running, what resources they are consuming, and how these factors affect the overall performance of the system has become the need of the moment. This book covers monitoring containers using Docker's native monitoring functions, various plugins, as well as third-party tools that help in monitoring. Well start with how to obtain detailed stats for active containers, resources consumed, and container behavior. We also show you how to use these stats to improve the overall performance of the system. Next, you will learn how to use SysDig to both view your containers performance metrics in real time and record sessions to query later. By the end of this book, you will have a complete knowledge of how to implement monitoring for your containerized applications and make the most of the metrics you are collecting
Table of Contents (15 chapters)
Monitoring Docker
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Looking at third party options


There are a few options when it comes to hosting central logging for your containers external to your own server instances. Some of these are:

Both of these services offer a free tier. Log Entries also offers a "Logentries DockerFree" account that you can find out more about at https://logentries.com/docker/

Note

As recommended in the Exploring Third Party Options chapter, it is best to use a cloud service when evaluating third party services. The remainder of this chapter assumes that you are running a cloud host.

Let's look at configuring the Log Entries on an external server, first of all you need to have signed up for an account at https://logentries.com/. Once you have signed up, you should be taken to a page in which your logs will eventually be displayed.

To start, click on the Add new log button in the top-right corner of the page and then click the Docker logo in the Platforms section...