Discover Packages
github.com/chaseisabelle/phprom
module
Version:
v0.0.6
Opens a new window with list of versions in this module.
Published: Nov 21, 2020
License: MIT
Opens a new window with license information.
README
README
¶
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
Expand ▾
Collapse ▴
Directories
¶
Click to show internal directories.
Click to hide internal directories.