docker example for phprom bundle
https://www.youtube.com/watch?v=XkTPMJzch8E
make restart
- navigate to
localhost:3000
- login with
- username: admin
- password: admin
- select "skip" or enter a custom password
- select the dashboard
notes:
- use the "percentile" switcher in the top-left to select different latency percentiles
make ps
docker-compose ps
Name Command State Ports
------------------------------------------------------------------------------
curler docker-php-entrypoint php ... Up
grafana /run.sh Up 0.0.0.0:3000->3000/tcp
phprom-grpc /phprom Up 0.0.0.0:3333->3333/tcp
phprom-rest /phprom --address=0.0.0.0: ... Up 0.0.0.0:8888->8888/tcp
prometheus /bin/prometheus --config.f ... Up 0.0.0.0:9090->9090/tcp
symfony-grpc docker-php-entrypoint php ... Up 0.0.0.0:80->80/tcp
symfony-rest docker-php-entrypoint php ... Up 0.0.0.0:8080->8080/tcp
make restart
to do a clean startmake start
to build, install, and runmake up
to build and runmake logs
to see the logsmake ps
alias fordocker-compose ps
make install
to install composer dependenciesmake upgrade
to upgrade composer dependenciesmake curl
to hit theGET /metrics
endpoint