当前位置:网站首页>What are the software operation and maintenance monitoring?
What are the software operation and maintenance monitoring?
2022-07-27 23:56:00 【Put the stars by the bed】
Monitoring is a function that programmers need to rely on when maintaining software operation , Today we will learn about it through case analysis , What are the indicator types of software operation and maintenance monitoring .
1、 indicators
Usually, the monitoring indicators are from System 、 application 、 Business Wait for several dimensions :
System monitoring : Mainly to monitor the physical machine 、 virtual machine 、 How the operating system works , The main indicators include CPU、 Memory 、 disk 、 Network, etc , Other related data include the physical machine run time 、 Operating system version 、 Operating system kernel , These are also some of the basic basis for troubleshooting . Here we need to focus on the network , Microservices are called or called through the network , Once the network goes wrong , The entire microservice cluster is not available , So network monitoring needs to be refined to traffic 、 Data packets 、 Packet loss 、 Misstatement 、 The number of connections, etc .
Application monitoring : It mainly monitors the operation of the application , Including application run time 、http Service port 、 service url、http Service response code 、http Service response time 、SQL、 A cache hit 、TPS、QPS etc. . about Java application , It also needs to include JVM Operation of the :JDK edition 、 Memory usage ( Heap memory 、 Non heap memory, etc )、GC etc. Java Virtual machine operation .
Business monitoring : It mainly monitors the implementation of some core businesses , It's intrusive to the business , The indicators of each service are different , Different monitoring methods are different , It's usually buried code . For example, monitoring login registration 、 Commodity information 、 Inventory 、 Place an order 、 payment 、 Delivery and other business .
2、 health
The general health check-up is done by a heartbeat test , There are usually two kinds of :
One is to establish TCP link , perform ping/pong call . This way needs to be established with the monitoring system in the service TCP link , Monitoring components need to be embedded in the service , There's an intrusion into the service . But because of its high efficiency , And it's targeted , There will be no underreporting .
One is to listen to the service port , In this way, you only need to add monitoring plug-ins in the container or virtual machine , There's no intrusion into the service , But since port availability and service availability are not a concept , So there will be cases of underreporting .
3、 Exception collection
There are two kinds of anomalies , Logical and behavioral anomalies . Logical exception means that there is abnormal logic in the code , For example, the common NPE; Abnormal behavior refers to the unexpected user behavior , Both of these situations are harmful to the system . So we need to collect these anomalies , And be able to locate the location of the exception . The purpose of abnormal information collection is to locate the problem , So the information reported must be comprehensive and easy to locate . Therefore, it is necessary to protect the exception code in the reported information , You can customize a certain length of string , Easy to position . And then we have to report the parameters , Used to restore the site . And report abnormal information , Used to analyze anomalies .
边栏推荐
- [RoarCTF2019]RSA
- JS promotion: array flattening in JS
- How to use FTP to realize automatic update of WinForm
- 史上最简明的 Tcpdump 入门指南,看这一篇就够了
- New technology leads new changes in marketing of large and medium-sized enterprises, and UFIDA BiP CRM is launched!
- org.junit.runners.model.InvalidTestClassError: Invalid test class ‘com.zhj.esdemo.MysqlTests‘: 1.
- 重新定义分析 - EventBridge 实时事件分析平台发布
- File&递归14.1
- 尚硅谷尚品项目汇笔记(一)
- Use a grayscale filter
猜你喜欢

BUUCTF-RSA4

org.junit.runners.model.InvalidTestClassError: Invalid test class ‘com.zhj.esdemo.MysqlTests‘: 1.

What is the prospect of low code development? Are you really optimistic about low code development?
![[RoarCTF2019]RSA](/img/0e/8c8371ccf40094e5b03e502d6ae851.png)
[RoarCTF2019]RSA

TOGAF10标准读书会首场活动圆满举办,精彩时刻回顾!

NDK 系列(6):说一下注册 JNI 函数的方式和时机
Edit the copy and paste judgment problem (bug?), WYSIWYG display symbol problem feedback.

【C语言】通讯录(动态版本)

【zer0pts CTF 2022】 Anti-Fermat

Unity 实现简单画板画画功能(笔记)
随机推荐
Introduction to several common usage scenarios of message queue
How Flink uses savepoint
主数据管理理论与实践
Latex common summary (2): input matrix (input matrix, diagonal matrix, equations, etc.)
BUUCTF-RSA
虚拟存储器与Cache的比较
File&递归14.1
Error:svn: E155010: ‘/Users/.../Desktop/wrokspace/xxx‘ is scheduled for addition, but is missing
Redefine analysis - release of eventbridge real-time event analysis platform
硬布线控制器的特点:
Error:svn: E155010: ‘/Users/.../Desktop/wrokspace/xxx‘ is scheduled for addition, but is missing
[ACTF新生赛2020]crypto-aes
CaEGCN: Cross-Attention Fusion based Enhanced Graph Convolutional Network for Clustering 2021
软件运维监控有哪些?
C # delegate usage -- console project, which implements events through delegation
29.学习Highcharts 使用百分比的堆叠柱形图
如果我们是那晚负责修复 B 站崩了的开发人员
xss.haozi.me练习通关
Which one is better to request to merge -- three skills of interface request merging, and the performance directly explodes the table
TSMC 3nm detail exposure: transistor density as high as 250million /mm ², Greatly improved performance and energy efficiency