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, under each model which contain several setting files of skywalking. The default settings can cover plenty of use cases, so you can ignore these settings file and just start up the application. If you install skywalking on a server which already running a web-server on it, the default http ports(80, 443, 8080, 8443) might been bind to another application. In this case, you should consider adjust the port of embedded jetty. The main steps are as follow:

  • Switch to skywalking-web installation folder.
  • Jump into config folder.
  • Edit server.port property to re-target web server's port in application.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 recommend you consider the following procedure:

  • 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.

最新文章

  1. android break 与 return 的区别
  2. C#虚函数和接口的区别
  3. sdn
  4. VB.net中Ajaxpro的使用
  5. linux系统编程之错误处理
  6. 【C#】【MySQL】C#获取存储过程的Output输出参数值
  7. django的序列化
  8. AngularJS+ckEditor管理ng-model
  9. POJ 3321 DFS序+线段树
  10. writeToFile 读写文件问题
  11. iOS开动画效果之──实现 pushViewController 默认动画效果
  12. jquery ajax(5)form表单序列化
  13. centos装openoffice
  14. Java 线程池原理分析
  15. Do Now 一个让你静心学习的APP——团队博客
  16. 潭州课堂25班:Ph201805201 tornado 项目 第六课 用户和图片分享的集成(课堂笔记)
  17. 常用的几条sql语句
  18. Python的循环导入问题
  19. 使用jQuery+huandlebars循环中索引(@index)使用技巧(访问父级索引)
  20. 『TensorFlow』SSD源码学习_其六:标签整理

热门文章

  1. Nodejs-文件流
  2. 【Gray Code】cpp
  3. Windows核心编程小结3
  4. Windows下Eclipse安装PyDev
  5. day02_03.五个数字一行输出
  6. Mac Xnip 截图软件快捷键设置
  7. [python][django学习篇][6]操作数据库
  8. POJ 3368:Frequent values(线段树区间合并)
  9. centos6.5 mysql忘记登入密码
  10. linux系统初始化——inittab文件解析