摘要
分析中小企业在面临日常分布式系统运维过程中,遇到的维保难和成本高的痛点。基于分布式系统跟踪规范OpenTracing,提出了轻量级的分布式系统日志跟踪设计方案。并根据Spring框架代码开发出设计方案,分别对方案的核心代码逻辑、单元测试、集成测试、性能测试进行详细介绍与分析,证实方案在分布式系统的生产环境的可行性。业界APM产品并非企业的唯一选择,还可以自定义实现低成本低侵入轻量级的分布式跟踪。此方案可支撑中小企IT运维人员快速精准定位分布式系统的异常。
This paper analyzes the difficulties and high costs encountered by small and medium-sized enterprises in the process of daily distributed system operation and maintenance.Based on the distributed system tracing specification OpenTracing,a lightweight distributed system log tracing scheme is proposed.The design scheme is developed according to the Spring framework code,and the core code logic,unit testing,integration testing and performance testing of the scheme are introduced and analyzed in detail,which proves the feasibility of the scheme in the production environment of distributed system.Industry APM products are not the only choice for enterprises,but can also be customized to achieve low-cost,low-intrusion,lightweight distributed tracking.This solution can support IT operation and maintenance personnel of small and medium-sized enterprises to quickly and accurately locate anomalies in distributed systems.
作者
曾颖青
唐晖
许丽娟
ZENG Yingqing;TANG Hui;XU Lijuan(School of Data Science,Guangzhou Huashang College,Guangzhou Guangdong 511320;GAC-Toyota Motor Co.,Ltd.,Guangzhou Guangdong 510000)
出处
《软件》
2023年第3期26-31,共6页
Software
基金
广东省普通高校人文社科类创新团队项目“粤港澳大湾区社会经济协调发展决策支持系统研究”(2020WCXTD008)。
关键词
分布式
跟踪
日志
distributed
tracing
log