Skip to content

Latest commit

 

History

History
99 lines (67 loc) · 2.62 KB

File metadata and controls

99 lines (67 loc) · 2.62 KB

Platform Web [In Progress]

Platform Web is a developer admin dashboard for Micro.

Overview

The micro web dashboard provides simple access to services with the ability to explore and interact with them. Platform Web looks to go a step further providing a full featured developer admin dashboard with auth, metrics, monitoring and much more. Platform Web is a micro web app like any other but focused on providing a platform wide overview.

Demo

Architecture

content

  • assembly-line
    • collector a go-micro srv collecting statistic infos from exporters and saving data to db
    • exporters export infos to the collector.
      • os a go-micro srv exporting os and machine runtime infos to collector.
        • [cpu] doing
        • [disk] doing
        • [docker] todo
        • [host] doing
        • [load] doing
        • [mem] doing
        • [net] doing
      • [rabbitMQ] todo
      • [kafka] todo
      • micro a plugin exporting infos of a running micro service to collector. It can be integrated into a micro service.
  • benchmarks benchmark tests
  • common common utils/libs
  • docs documents
  • modules module plugins including basic (same as micro web), auth, log, etc.
  • srv backend-api
  • web basic front-page framework

Getting Started

go run

cd srv
go run main.go module.go

then you can click http://127.0.0.0:9082/platform to open platform dashboard.

go build

windows

cd srv
GOOS=windows GOARCH=amd64 go build -o platform-web.exe main.go module.go

Linux

cd srv
GOOS=linux GOARCH=amd64 go build -o platform-web main.go module.go

you should keep the webapp dir and backend app in same path, like:

- platform-web
- webapp

Acknowledgements

Thanks for prometheus and gopsutil.

I am being influenced by their design, huge and full jobs, etc, etc.

I reuse most of their good code, and make them more suitable in micro design philosophy.

docker

coming soon...

内容

Platform Web是Micro的控制台。