Update README.md

change doc about userId to username
This commit is contained in:
吴晟 Wu Sheng 2016-12-07 11:03:02 +08:00 committed by GitHub
parent 1f4d4a463b
commit aa458f33a8
1 changed files with 2 additions and 2 deletions

View File

@ -128,13 +128,13 @@ ___
[ ![Download](https://api.bintray.com/packages/wu-sheng/skywalking/com.a.eye.skywalking-agent/images/download.svg) ](https://bintray.com/wu-sheng/skywalking/com.a.eye.skywalking-agent/_latestVersion)
## 4. Create users, applications and alarm rules in webui
- create user, remember your user id.
- create user, remember your username.
- create applications under the user, remember your application code.
- create alarm rules for each applications.
## 4. Start application with -javaagent
```shell
java -jar ... -javaagent:/..ospath../skywalking-agent-x.x.jar -DuserId=x -DapplicationCode=y -Dservers=192.168.1.16:3300,192.168.1.17:3300
java -jar ... -javaagent:/..ospath../skywalking-agent-x.x.jar -Dusername=x -DapplicationCode=y -Dservers=192.168.1.16:3300,192.168.1.17:3300
```
## 5. Aha, your applications are being instrumented