5 3.0 Deploy skywalking agent
Xin,Zhang edited this page 2017-04-27 10:52:22 +08:00

Download skywalking agent release version

Deploy skywalking javaagent

  • Add -javaagent:/path/to/javaagent/jar to VM argument.
  • Configure skywalking agent. There are two ways to configure java agent:
    1. Configure by sky-walking.conf file, see more about config file introduction
    2. Configure by VM argument. Here is the example:
-DapplicationCode=test-service -Dservers=127.0.0.1:12800

applicationCode present that Identify code of monitored application.servers present that address that REST-Service of skywalking collector listened, Multiple REST-Service addresses of skywalking collector spilt by ,.

  • Start monitored application.