官术网_书友最值得收藏!

Monitoring the microservices

Monitoring is always a crucial part of managing any application. When we talk about how we can monitor microservices, however, there are several unique challenges to consider. In a monolithic architecture, we have one common build or library for all the services deployed in a couple of application servers that may have had dependencies across other libraries. In this section, we'll focus on the changes required to monitor an application in production more efficiently.

We can monitor, maintain, and operate containers using Kubernetes. We need to enable application insights to see what's running inside the container. Here, we can set the alerts on the performance of the service, rather than the performance of the container. As we are using the cloud, we need to set up our infrastructure according to our project requirements. We need to monitor our APIs, although in microservices it is easy to detect and diagnose the unhealthy nodes quicker than in monolithic systems. Every microservice may interact with other services or a backend database, so we need to enable monitoring for all loose points that could lead to application failure. We need to set up monitoring that can detect problems early. If we can implement self-healing in certain common scenarios, we can improve the uptime of an application. There are a few common metrics that we need to measure, which we'll look at in the following sections.

主站蜘蛛池模板: 息烽县| 杂多县| 沁阳市| 澜沧| 霍城县| 泸州市| 鄂伦春自治旗| 洮南市| 黔南| 黄龙县| 三门县| 荣昌县| 定陶县| 荣昌县| 贺州市| 湟中县| 什邡市| 礼泉县| 津南区| 岑巩县| 合江县| 滨州市| 西林县| 沈阳市| 延庆县| 岢岚县| 兰溪市| 班玛县| 景东| 星子县| 左贡县| 陇西县| 扬中市| 津市市| 曲周县| 和林格尔县| 玉门市| 克拉玛依市| 卫辉市| 安远县| 阿荣旗|