Skip to content

chaseisabelle/phprom

Repository files navigation

phprom

a prometheus metric datastore for php apps


example

see a fully functional example here


prerequisites

  • install the client
    • composer require chaseisabelle/phprom-client

usage

  • 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
cli options
$ 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")

apis