[原創]Getting Started with Skywalking
Getting Started with Skywalking
Pre
- JDK 1.8+
- Skywalking(v3.2.6) (All packages can be download from GitHub):
- skywalking-web.tar.gz
- skywalking-collector.tar.gz
- skywalking-agent.tar.gz
- ElasticSearch (ver 5.3.0)
Install
Directly decompress above tar packages.
Settings
There is a folder, read config
- Switch to skywalking-web installation folder.
- Jump into
config
folder. - Edit
server.port
property to re-target web server‘s port inapplication.properties
.
Start Service
All components of skywalking run on stand-alone JVM processes, in other words, each service can be started separately without order. Though skywalking give the maximum degree of freedom to the user, I still strongly
- Start ElasticSearch;
- Start skywalking-collector;
- Start skywalking-web
- Start your application with skywalking-agent.
- For SpringBoot application, one should laungh jar file as follow:
java -jar -javaagent:/<Path>/skywalking-agent/skywalking-agent.jar ./APPLICATION.jar
- In case, application been deployed via stander webserver, Tomcat for instance, one should consider attach
-javaagent:/<Path>/skywalking-agent/skywalking-agent.jar
commend to the start script.
- For SpringBoot application, one should laungh jar file as follow:
[原創]Getting Started with Skywalking