dashboard
dashboard copied to clipboard
Open Swoole Dashboard
Open Swoole Dashboard
This is the example repo of using Open Swoole Metrics in v4.9.0
to bootstrap an Open Swoole Dashboard with Metrics in Open Swoole, Grafana and Prometheus.
Docker and Docker Compose are requried.
Bootstrap Open Swoole Dashboard
Make sure openswoole version >= 4.9.0:
docker pull openswoole/swoole:latest
docker run --rm openswoole/swoole:latest php --ri openswoole
Start the demo server and dashboard:
git clone [email protected]:openswoole/dashboard.git
cd dashboard
docker-compose up
Open Swoole Metrics
Find /metrics output at http://127.0.0.1:9501/metrics
Prometheus UI
Find Prometheus server at http://127.0.0.1:9090/

Grafana Dashboard
- Find
http://127.0.0.1:3000/login
, the default username and password areopenswoole:openswoole
. - Import Open Swoole Dashboard at
http://127.0.0.1:3000/dashboard/import
, enter ID15418
and hit load button. - Send some traffic with wrk using
wrk -t4 -c16 -d5 --latency http://127.0.0.1:9501/
- Have fun with OpenSwoole Dashboard
