In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article shares with you the content of a sample analysis of skywalking distributed service call link tracking APM application monitoring. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
Preface
When enterprise applications enter the era of distributed micro-services, there will be more and more application service dependencies. Skywalking can solve the problem of service invocation link tracking very well, and based on java probe technology, it basically has zero intrusion and zero coupling to applications.
What is skywalking and what is the use?
Skywalking is an APM system, that is, application performance monitoring system, designed for micro-service architecture and cloud native architecture systems. It automatically collects the required indicators through the probe and carries out distributed tracking. Through these call links and metrics, Skywalking APM senses the relationships between applications and services, and makes corresponding metrics statistics. Currently, the following components are supported for link tracking and monitoring applications, which basically cover mainstream frameworks and containers, such as domestic PRC Dubbo and motan, while international spring boot,spring cloud supports them.
The overall architecture of skywalaking is divided into three parts.
Skywalking-collector: link data collector, data can be landed ElasticSearch, stand-alone can also land H2, not recommended, H2 is only used as a temporary demonstration
Skywalking-web:web visualization platform, which is used to display landing data
Skywalking-agent: probe for collecting and sending data to the collector
How to get started quickly? Step 1: enter the official release address
Https://github.com/apache/skywalking/releases
After downloading skywalking-collector,skywalking-web,skywalking-agent and decompressing it, both the collector and web application will have a bin directory. In stand-alone mode, there is no need to change the configuration, and the corresponding script can be executed directly.
Step 2: configure the agent probe for the application to be monitored
Copy the skywalking-agent directory to the desired location, the probe contains the entire directory, please do not change the directory structure, you can modify the agent.config configuration agent.application_code=xxl-job to your own application name
Add the JVM startup parameter,-javaagent:/path/to/skywalking-agent/skywalking-agent.jar. The parameter value is the absolute path of skywalking-agent.jar.
Step 3: open the web page and view the topology information. The port defaults to 8080, so there is generally no problem. If you open localhost:8080, you will see the following system legend.
System usage legend
Topology diagram of each application on the home page of the system
System instance, one application and one instance
Monitoring information such as system jvm and cpu utilization
Span details of service invocation
Service dependency tree
Service call link
Other
1. In addition to using automatic probes to report data, you can also use annotations to manually upload business data by burying points.
two。 You can also use traceId. Integrated into the mainstream logging framework output, such as log4j,logback and so on.
Thank you for reading! This is the end of the article on "example Analysis of skywalking distributed Service call Link tracking APM Application Monitoring". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.