售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Monitoring Docker
Table of Contents
Monitoring Docker
Credits
About the Author
About the Reviewer
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. Introduction to Docker Monitoring
Pets, Cattle, Chickens, and Snowflakes
Pets
Cattle
Chickens
Snowflakes
So what does this all mean?
Docker
Launching a local environment
Cloning the environment
Running a virtual server
Halting the virtual server
Summary
2. Using the Built-in Tools
Docker stats
Running Docker stats
What just happened?
What about processes?
Docker top
Docker exec
Summary
3. Advanced Container Resource Analysis
What is cAdvisor?
Running cAdvisor using a container
Compiling cAdvisor from source
Collecting metrics
The Web interface
Overview
Processes
CPU
Memory
Network
Filesystem
Viewing container stats
Subcontainers
Driver status
Images
This is all great, what's the catch?
Prometheus
Launching Prometheus
Querying Prometheus
Dashboard
The next steps
Alternatives?
Summary
4. A Traditional Approach to Monitoring Containers
Zabbix
Installing Zabbix
Using containers
Using vagrant
Preparing our host machine
The Zabbix web interface
Docker metrics
Create custom graphs
Compare containers to your host machine
Triggers
Summary
5. Querying with Sysdig
What is Sysdig?
Installing Sysdig
Using Sysdig
The basics
Capturing data
Containers
Further reading
Using Csysdig
Summary
6. Exploring Third Party Options
A word about externally hosted services
Deploying Docker in the cloud
Why use a SaaS service?
Sysdig Cloud
Installing the agent
Exploring your containers
Summary and further reading
Datadog
Installing the agent
Exploring the web interface
Summary and further reading
New Relic
Installing the agent
Exploring the web interface
Summary and further reading
Summary
7. Collecting Application Logs from within the Container
Viewing container logs
ELK Stack
Starting the stack
Logspout
Reviewing the logs
What about production?
Looking at third party options
Summary
8. What Are the Next Steps?
Some scenarios
Pets, Cattle, Chickens, and Snowflakes
Pets
Cattle
Chickens
Snowflakes
Scenario one
Scenario two
Scenario three
A little more about alerting
Chickens
Cattle and Pets
Sending alerts
Keeping up
Summary
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜