Sign inSign up

chaseisabelle/phprom

By chaseisabelle

•Updated almost 5 years ago

a prometheus datastore for php apps

Image
0

935

chaseisabelle/phprom repository overview

⁠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

Tag summary

Content type

Image

Digest

Size

9.6 MB

Last updated

almost 5 years ago

docker pull chaseisabelle/phprom