当前位置:网站首页>Service visibility and observability
Service visibility and observability
2022-06-24 15:05:00 【51CTO】
It can be seen that observability is the first step of the service governance feedback mechanism , Only get enough valuable data , To analyze and control the running state of the service .
One 、 Service visibility
The service metadata platform is responsible for maintaining service related metadata information , It mainly includes the service level 、 Interface level 、 The metadata information of these dimensions at the topology level , Through the service metadata platform , It can provide full visibility to the system . To enhance the flexibility of service query , It can support multiple service query methods , For example, query according to the service department 、 Query according to service attributes, etc , Service basic information platformization, etc . The basic information of the service is as follows .
1) The service description : Briefly describe the basic capabilities of service provision , Applicable scenarios of services, etc , For potential service users , If necessary, a detailed description of the service can be added wiki, And the corresponding email group and communication group of the service .
2) Service ownership : Service current department 、 Serving the current owner etc. .
3) Service external interface : Service interface definition , Instructions for use and precautions, etc .
4) service SLA: External service SLA promise .
5) Upstream and downstream topologies of services : The upstream and downstream dependencies of each service are maintained in the service mall , Based on upstream and downstream dependencies , You can not only query the usage mode and usage of upstream and downstream services , At the same time, the upstream and downstream service notifications can also be made in case of major service changes .
6) Service change : The Service Mall maintains a change log for each important change in the service , In case of important changes, upstream and downstream dependencies will be notified through corresponding mechanisms , The upstream and downstream will assess whether adaptation and upgrading are required , In this way, service users can understand the whole development context of the service from the change history .7) Service access and resource quota management : How to access the service , How to apply for resource quotas .
8) Service online deployment and offline test environment information : Describes the online and offline deployment information of the service , Users directly use... Based on the environment given by the platform .
Two 、 Change visibility
Change is the main factor causing system failure , Systematically sort out and record the changes of each dimension , It is not only convenient to trace and locate the fault , It can also be based on a complete change event library , Reasons for these changes 、 Comprehensive audit and analysis of quality and impact , Find something regular from it , Establish corresponding improved feedback closed loop .
Service change is the most important source of change , Common service change methods include application change 、 Configuration change 、 Data change and plan change, etc . For microservice architecture , In addition to focusing on changes to the current service , We also need to pay attention to the changes of upstream and downstream dependent services , And the change of deployment level associated services , For example, other service changes on the same physical machine as the current service mix .
In addition to service changes , It is also necessary to record all environmental changes around the service , For example, network changes 、 Machine changes 、 Machine room change 、 Switch change , These changes may affect the normal operation of the service .
3、 ... and 、 Observation visibility
Microservices architecture , Each micro service adopts distributed deployment , And distributed communication through the network , With the expansion of the number of microservices and the scale of clusters , Various types of faults will occur in the system , And many faults can not be predicted in advance . Therefore, microservice observation visibility is required , It can be divided into Logging( Log system )、Metrics( Measurement system ) and Tracing( Distributed tracking system )3 A hierarchical .
- Logging system log
Used to record discrete events in the system , For example, service debugging information and error information , Logs are the cornerstone of system monitoring , It is also the first starting point for service status monitoring and problem diagnosis , The log can be used to roughly judge whether the system is running normally . Logs are the most common 、 The most common monitoring means , However, log monitoring and alarms of services generally need to be added manually , Not only is it inefficient , It's easy to miss . At the same time, the log format and log information of different services may be different , It is not convenient to standardize , Not only log collection 、 It is troublesome to handle and display , There are too many personalized needs , And the logs of each service are not uniform , The whole system problem location based on log is also very troublesome .
- Metric System
To improve the standardization of logging and monitoring , Introduced Metric The concept of ,Metric This is to process the aggregatable parts of the log through standardized protocols ,Metric Define a complete set of log collection 、 Transmission and processing standards , adopt Metric It can realize the standardization of logging and monitoring , At the same time, it is based on Metric Log aggregation feature of , The aggregated logs will be much smaller , Reduce the cost of the logging system .
- Tracing System
Tracing Used to record request level information , It will track the execution process of the entire link and the time-consuming information of each stage , be based on Tracing, You can locate request performance issues and cross service interaction related issues .
边栏推荐
- update+catroot+c000021a+critical service failed+drivers+intelide+viaide+000000f
- GO语言-init()函数-包初始化
- MySQL log management, backup and recovery
- 入行 4 年,跳槽 2 次,我摸透了软件测试这一行
- 测试 H5 和小程序的区别,你真的知道吗?
- Golang实现Biginteger大数计算
- golang中Map的并发写入
- MySQL title
- postgresql之词法分析简介
- R语言构建回归模型诊断(正态性无效)、进行变量变换、使用car包中的powerTransform函数对目标变量进行Box-Cox变换(Box–Cox transform to normality)
猜你喜欢

A common defect management tool - Zen, which teaches you from installation to using the handle

港股上市公司公告 API 数据接口

Don't underestimate the integral mall. It can play a great role

In the eyes of the universe, how to correctly care about counting East and West?

作为一名开发者,对你影响最深的书籍是哪一本?

Laravel 8 realizes auth login

Development of digital Tibetan product system NFT digital Tibetan product system exception handling source code sharing

GO语言-goroutine协程的使用

测试 H5 和小程序的区别,你真的知道吗?

tongweb使用之端口冲突处理办法
随机推荐
Qunhui synchronizes with alicloud OSS
R语言实战应用精讲50篇(二十三)-贝叶斯理论重要概念: 可信度Credibility, 模型Models, 和参数Parameters
怎样评价国产报表工具和BI软件
List of PostgreSQL
postgresql之List
Keras deep learning practice (11) -- visual neural network middle layer output
Daily knowledge popularization
PgSQL queries the largest or smallest data of a field in a group
安装wireshark时npcap怎么都安装不成功,建议先用winpcap
Actual combat | a tortuous fishing counteraction
R语言plotly可视化:使用plotly可视化数据划分后的训练集和测试集、使用不同的形状标签表征、训练集、测试集、以及数据集的分类标签(Display training and test split
tongweb使用之端口冲突处理办法
3环杀掉360安全卫士进程
兴业证券靠谱吗?开证券账户安全吗?
证券账户理财安全吗??
【比特熊故事汇】6月MVP英雄故事|技术实践碰撞境界思维
大智慧开户要选什么证券公司比较好,更安全一点
`Thymeleaf ` template engine comprehensive analysis
09_ An efficient memory method
Cvpr2022 | domaine compact adaptable