Learn the benefits of adding a health check to your application and why this is essential for cloud native applications. Also learn what kinds of checks you should be doing to represent the health of your application correctly.
- Once you have deployed an application into the cloud, … you need to keep it running. … If you only had one app, that's quite easy. … With lots of apps it gets much harder. … In fact, modern cloud application should … rely heavily on automation. … There are multiple different ways to monitor an application. … You could look at the time it's taking … to respond to requests. … Or you could look at metrics such as memory or CPU. … As well as looking at these metrics, … it's useful in a cloud environment to have a simple endpoint … to indicate whether the application is generally healthy. … In a basic app, this would simply be an endpoint … such as /health. … If the app is currently working as expected … a get request to the endpoint should return a 200. … It could also include details about … what checks were made to return the positive response. … If your app is having problems, … the endpoint would respond with some other status code. … The status code should give an initial … indication of what is wrong. …
- Installing Docker
- Running an application with Docker
- Deploying an application to Kubernetes
- Adding custom metrics
- Collecting and visualizing metrics
- Enabling distributed tracing