Merge pull request #25 from TinyAllen/develop

merge develop
tree: 9860f66afc112d86578407bdb944c76d6f56b658
  1. build/
  2. config/
  3. document/
  4. src/
  5. static/
  6. .babelrc
  7. .editorconfig
  8. .eslintignore
  9. .eslintrc.js
  10. .gitignore
  11. .postcssrc.js
  12. Dockerfile
  13. Dockerfile-ci
  14. Document.md
  15. index.html
  16. LICENSE
  17. nginx.conf
  18. package.json
  19. README.md
  20. run.sh
  21. tsconfig.json
  22. tslint.json
README.md

Introduction

RocketBot: A modern and awesome UI for Apache SkyWalking. This project is supported By DaoCloud Labs.

Screenshots

Dashboard

Topology

Trace

Live Demo

Demo

UsernamePassword
adminadmin

Document

Please read Docs

Development

The app was built with vue + typescript.

Prepare

Fork, then clone the rocketbot repo and change directory into it.

git clone https://github.com/TinyAllen/rocketbot.git
cd rocketbot

Install dependencies via npm:

npm install

Run

The default collector query endpoint is http://localhost:8080.

Commands

CommandDescription
npm startStarts development server with hot reloading.
npm run hostStarts development servers other can link
npm run lintLint the project (tslint)
npm run buildRuns production build. Outputs files to /dist.

Build

Running build will output all the static files to the ./dist folder:

npm install
npm run build

Docker Build

npm install
npm run build
docker build -t rocketbot .

Running the docker image

docker run -p 8080:80 -d -e SKYWALKING_URL=127.0.0.1:1234,127.0.0.1:1235 SKYWALKING_COMMON=127.0.0.1:8080,127.0.0.1:80801 rocketbot

SKYWALKING_URL is the address of your backend, multiple IP is changed by comma.

The default UI address is http://localhost:8080.

Nginx config

Reserve proxy

  location /api {
    rewrite ^/(.*) /graphql break;
    proxy_pass SKYWALKING_URL;
  }

Important: If you want to deploy the application by yourself,you need to rewirte the URL path into /graphql before reserve proxy.

Contributing to RocketBot

Thanks for your interest and hope it will be a pleasant experience.

How to contribute?

Most of the contributions received are code contributions, and documentation, bugs, requirements are also welcomed.

How to report a bug?

  • Ensure the bug was not already reported by searching on GitHub under Issues.

  • If you're unable to find an open issue addressing the problem, open a new one. Be sure to include a title and clear description, as much relevant information as possible, and a code sample or an executable test case demonstrating the expected behavior that is not occurring.

Support

Supported by DaoCloud Labs.

Contact

WeChat

License

Copyright © 2018, Allen Wang. Released under the MIT License.

Who Uses Rocketbot?

按照登记顺序排序,更多接入公司,欢迎在 https://github.com/TinyAllen/rocketbot/issues/15 登记(仅供开源用户参考)