phprom

module
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2020 License: MIT

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

Directories

Path Synopsis
cmd
v1
pkg
v1
src
v1
srv
v1

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL