当前位置:网站首页>How can enterprises do business monitoring well?

How can enterprises do business monitoring well?

2022-06-23 18:45:00 New titanium cloud suit

e93f5ea03a06313d4e43884f9146e438.gif

The new titanium cloud service has been accumulatively shared with you 653 Technical dry goods

df1a716eacc1f77eb33f1c8079276536.gif

Why should we do business monitoring ?

ba4092c4b23da1f080522f875088d82f.png

Usually , Most enterprises will do infrastructure monitoring , I think infrastructure monitoring can solve most of the problems . As for business monitoring , Wait for someone to say and then deal with it . Little do you know that this idea will have many hidden dangers :

1、 The operation and maintenance department often finds problems later than the business department .

Because problems in the business will come out first , It's often a few minutes before the infrastructure goes wrong . At this time, the business may have been exhausted .

2、 Due to the late discovery of business problems , At this time, there may be problems in the business with mutual calling relationship .

This makes it difficult to locate business faults . If business monitoring is done , And do second pole monitoring , When a large number of businesses have problems , We can judge which service fault is caused by the first alarm .

3、 Endanger the interests of the company and its own future .

The third point is also the most deadly , Due to the above two problems, the operation and maintenance has a negative impact on the business department and even the whole company , In the long run, it will not only bring economic losses to the company , It is also very detrimental to one's own future .

So do a good job of business monitoring , It can be said that each operation and maintenance personnel must complete a task .

What business monitoring should do ?

9b500cac53326de99ee46ddf423ecd06.png

1、Web Site monitoring

3bf94ec2af8b0406dd0e05aee410b645.png

For public network services Web Site , Whether it's SAAS We need to conduct site management on our own deployed sites URL monitor . It is recommended to use commercial services for public network site monitoring , Because these services can usually detect your current site access from multiple regions , It is usually the monitoring of site status code and response speed .

For intranet services Web Sites also need to be monitored , Because the intranet cannot be accessed from the public network , Therefore, it is recommended to use self built for intranet Prometheus To monitor the status and response speed of the site .

2、 Health check interface

Service health check interface monitoring is performed here , Provide one or more monitoring API, Monitor the status of the application itself 、 Monitor application and database connection status , Monitor application and middleware connection status .

The health check interface is recommended to be used uniformly /health The interface to the path , If there are three interfaces, then /app_health On behalf of service 、/db_name_health Represents the database connection status 、/middleware_name_health Represents the middleware connection status .

A separate interface returns APP_OK,db_name_OK,middleware_name_OK, Multiple interfaces return OK It indicates that the service, database and middleware are normal .

There are some JAVA Of Sprint The framework has its own health check interface , These can be used directly .

3、 Log monitoring

First , All business logs shall be accessed to the log center . Which keywords need to be alarmed ? The project manager and the development leader need to discuss and give . Make sure you have the necessary keywords to alarm , Avoid the overflow of alarms .

4、 Link tracking

a6616ff3525a0ed687be1ee8a5a62035.png

Link tracing can be accessed selectively , If the service is relatively simple, there is no problem when it is running at ordinary times . For general business, there are many upstream and downstream call chains , And the business logic is complex , At the same time, there will be large concurrent requirements , Those requiring high response speed can be accessed .

It is mainly for users to find out the problems with long response time API, And see if there is a problem in the function . Some commercial link tracking tools can also see SQL The question of sentence . These can help developers solve problems in business code better and faster .

5、 Big screen monitoring

Large screen for business , First of all, we should consider what business data should be put into the large screen ? Here, it is recommended to put the data concerned by the business leader or the management . such as :

·  Number of users online

· User order real-time quantity data

These data can make the business leader or management directly see the current business situation . You can also configure alarms for some estimated outliers .

How to do business monitoring well

544b302547c0b28876bdcd6407409f45.png

Business monitoring is not easy , So this is also the reason why many enterprises have not done or have not done enough . Business monitoring must be done step by step . First , You should have business monitoring. Secondly, we need to sort out business monitoring , Ensure that all monitoring items are meaningful. Finally, we need to have processes and mechanisms for business monitoring, patrol inspection and alarm processing , Ensure that all business monitoring is detected and handled in a timely manner

In addition, business monitoring is not limited to the above description 5 class , If an enterprise has business-related needs to be monitored , And is no longer in the type described above , You can use some tools or customized means to complete customized business monitoring requirements .

Do a good job of business monitoring , We can fully reflect the value of operation and maintenance .

Learn about the new titanium cloud service

New titanium cloud clothing won the fourth FMCG Retail consumer goods industry CIO The annual meeting of the 「 The most trusted brand award for digital services of the year 」

The new titanium cloud suit is three years old , The company's monthly revenue exceeds 600 Ten thousand yuan , Set the development goal of new titanium for a century

When IPFS Meet cloud services | New titanium cloud service has reached a strategic agreement with glacier distributed Laboratory

The new titanium cloud service was officially approved by the Ministry of industry and information technology ISP/IDC( Including Internet resource collaboration ) License plate

I'm going deep into my major , Standing at the head of the turtle , The new titanium cloud service won tens of millions Pre-A Round of funding

New titanium cloud clothes , Create the most professional Cloud MSP+, Bridge between enterprise business and cloud

The first anniversary of the new titanium cloud service , Complete two rounds of financing , Serve more than 50 customers

Hybrid cloud solution of a warehouse logistics e-commerce company in Shanghai

Previous technical dry goods

Kubernetes Expand to 7,500 The course of the node

Low code development , Development by the whole people , Eliminate professional programmers !

Domestic mainstream public cloud VPC Use comparison and summary

Ten thousand words long text : Cloud Architecture Design Principles | attach PDF download

just ,OpenStack The first 19 Here comes a version , attach 28 Detailed interpretation of item characteristics !

Ceph OSD Troubleshooting | Ten thousand words experience summary

Seven for Docker and Kubernetes Protective safety tools

The lifelong growth of O & M people , Start with inventory management | Ten thousand words long text !

OpenStack And ZStack Depth contrast : framework 、 Deploy 、 Computing storage and networking 、 Operation and maintenance monitoring, etc

What is Yunyuan ?

IT Hybrid cloud strategy : What is it? 、 Why? , How to build ?

60d60dc0afb8f355316fe933275ee247.gif

Share

5eea7ff5f64d88b64e0d409a02c837e4.gif

Poke at

原网站

版权声明
本文为[New titanium cloud suit]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/174/202206231744118446.html