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

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.

主站蜘蛛池模板: 界首市| 金堂县| 新乡县| 连平县| 虹口区| 长兴县| 九龙县| 沛县| 西安市| 抚顺市| 临武县| 合阳县| 女性| 隆尧县| 泰顺县| 禹州市| 固始县| 芜湖市| 电白县| 莒南县| 泾阳县| 庆云县| 瑞昌市| 屏南县| 湘潭市| 绥宁县| 庐江县| 喀什市| 湛江市| 霞浦县| 皮山县| 石台县| 霸州市| 太白县| 张家港市| 阆中市| 衡南县| 穆棱市| 龙州县| 汾阳市| 休宁县|