skywalking(2)

installation

1. Install jdk
2. Install es
3. Install skywalking (backend and ui)

Add a probe when the application starts

Use
java -javaagent: /aa/bb/boot.jar -Dserver.port = 8081 -jar boot.jar to
start the project jar package

View call chain, tracking, etc.

Dashboard, topology diagram, tracking, alarm, index comparison

Commonly used

Configuration override

To avoid modifying the configuration everywhere, you can use the startup parameter configuration directly at startup
Probe configuration> System configuration> System environment variable configuration> Configuration file configuration

Get trace id under trace package

Add dependency:
get the tracking id in the apm-toolkit-trace code, you can also put some other information, such as error log, etc.

Filter specific endpoints

For example, some interfaces of swagger, there is no need to track, you can filter out

Alarm

Flexible custom alarms (how many errors occur as long as possible, alarms several times, etc.)
provide an interface (webhooks configuration) to receive alarm information, you can do further operations on the alarm information, such as sending emails and text messages

Published 203 original articles · praised 186 · 210,000 views

Guess you like

Origin blog.csdn.net/java_zhangshuai/article/details/104911967