- goto project
- run the following command
$ npm install skyapm-egg-require --save
SkyWalking provide two deploy mode, one is standalone mode and the other is cluster mode, and here is the deploy documents.
Add the following the stuff to the start script
--require skyapm-egg-require --sw_service_name=Your_service_name --sw_instance_name=Your_instance_name --sw_direct_Servers=Collector_remote_grpc_address
Your_service_name
: It used to differentiate between different services. the value will be shown in WebUI.Your_instance_name
: It used to differentiate between different instance.Collector_agent_grpc_address
: This value should be consistent with theagent_gRPC.gRPC
configuration items in the application.yml in the Collector project. (default value: localhost:11800)
After you do all above actions and your application has been monitored. you can visit your service that your application provided and the tracking data will be reported to the Skywalking backend.
If you has start up UI, you maybe can open browser and visit the webui url. The url by default is http://localhost:8080, If you has changed server.port
configuration about webui, the visit url has change to http://localhost:[server.port]. If you haven't started yet, don't worry about the loss data problem and Skywalking will keep your data safe, just start up UI, and visit the webui url.