a prometheus metric datastore for php apps
see a fully functional example here
- install the client
composer require chaseisabelle/phprom-client
- from command line:
go run cmd/v1/main.go --address=0.0.0.0:3333 --api=grpc
- get the latest image from docker
docker run phprom ./phprom --address=0.0.0.0:3333
$ go run cmd/v1/main.go --help
Usage of phprom:
-address string
the host:port to listen on (default "0.0.0.0:3333")
-api string
the api to use (grpc or rest) (default "grpc")
- grpc
- rest/http