1 Star 0 Fork 692

流风一剑1990 / skywalking

forked from SkyWalking / skywalking 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
backend-ui-setup.md 2.15 KB
一键复制 编辑 原始数据 按行查看 历史

Backend and UI

SkyWalking backend distribution package includes following parts

  1. bin/cmd scripts, in /bin folder. Include startup linux shell and Windows cmd scripts for Backend server and UI startup.
  2. Backend config, in /config folder. Include setting files of backend, which are application.yml, log4j.xml and alarm-settings.yml. Most open settings are in these files.
  3. Libraries of backend, in /oap-libs folder. All jar files of backend are in it.
  4. Webapp env, in webapp folder. UI frontend jar file is in here and its webapp.yml setting file.

Quick start

Requirement: JDK8

Before you do quick start, you should know, quick start is to run skywalking backend and UI for preview or demonstration. In here, performance and long-term running are not our goals.

Want to deploy to product/test env? Go to Backend and UI deployment documents

You can use bin/startup.sh(or cmd) to startup backend and UI in default settings, which include the following things you need to know.

  • Storage, use H2 by default, in order to make sure, don't need further deployment.
  • Backend listens 0.0.0.0/11800 for gRPC APIs and 0.0.0.0/12800 for http rest APIs. In Java, .NetCore, Node.js, Istio agents/probe, set the gRPC service address to ip/host:11800. (ip/host is where the backend at)
  • UI listens 8080 port and request 127.0.0.1/12800 to do GraphQL query.

Deploy Backend and UI

After the quick start, you should want to deploy the backend and UI in the distributed env. Before that, you should know how agent/probe, backend, UI communicate with each other.

  • All native agents and probes, either language based or mesh probe, are using gRPC service(core/default/gRPC* in application.yml) to report data to backend. Also, jetty service supported in JSON format.
  • UI uses GraphQL(HTTP) query to access backend also in Jetty service(core/default/rest* in application.yml).

Now, let's continue with the backend and UI setting documents.

Java
1
https://gitee.com/liufengyijian/sky-walking.git
git@gitee.com:liufengyijian/sky-walking.git
liufengyijian
sky-walking
skywalking
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891