Platform Web is a developer admin dashboard for Micro.
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.
- 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.
- os a go-micro srv exporting os and machine runtime infos to collector.
- 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
cd srv
go run main.go module.go
then you can click http://127.0.0.0:9082/platform to open platform dashboard.
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
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.
coming soon...
Platform Web是Micro的控制台。