commit | 8cce6dbbe5777196fd4af11db260ba9399689844 | [log] [tgz] |
---|---|---|
author | Allen Wang <Allen.Wang.123@outlook.com> | Thu Dec 27 17:50:27 2018 +0800 |
committer | 吴晟 Wu Sheng <wu.sheng@foxmail.com> | Thu Dec 27 17:50:27 2018 +0800 |
tree | 7fde4f002e72dd965ad6feccf48a2891234dcaea | |
parent | 2675c06033e1bc9b046461e0337c029e7d4292da [diff] |
Feature: update spans display (#215) * Feature: update spans display 1.Add top childrens and top slow span. 2.fix windowresize bug. 3.fix time and span tiptip connection. 4.Optimized tree rendering algorithm. * Feature: update span durations & types durations.
The UI for Apache SkyWalking.
See CONTRIBUTING.
The app was built with dva framework.
Fork, then clone the incubator-skywalking-ui
repo and change directory into it.
git clone https://github.com/apache/incubator-skywalking-ui.git cd incubator-skywalking-ui
Install dependencies via npm
:
npm install
This mode is suitable for developing locally. Use username:admin, password:888888
to login system.
npm start
This mode is suitable for e2e test with backend collector. No webapp proxy required.
npm run start:no-proxy
The default collector query address is http://localhost:12800
. You can change this address by editing .webpack.js
file. From 5.0.0-beta2, login auth is supported, but without webapp proxy, there is no one to take charge of authentication, so we need specific processes to login in this mode.
Mock mode
.username:admin, password:888888
. (Now, browser saved authentication in local storage)No-Mock mode
.Command | Description |
---|---|
npm start | Starts development server with hot reloading and mock. |
npm run start:no-proxy | Starts development server to access collector |
npm test | Runs all the tests |
npm run lint | Lint the project (eslint, stylelint) |
npm run build | Runs production build. Outputs files to /dist . |
Running build will output all the static files to the ./dist
folder:
npm install npm run build