PHP Class Beberlei\Metrics\Collector\Graphite

Inheritance: implements Beberlei\Metrics\Collector\Collector
Show file Open project: beberlei/metrics

Public Methods

Method Description
__construct ( string $host = 'localhost', integer $port = 2003, string $protocol = 'tcp' )
decrement ( $variable )
flush ( )
increment ( $variable )
measure ( $variable, $value )
push ( $stat, $value, $time = null )
timing ( $variable, $time )

Method Details

__construct() public method

public __construct ( string $host = 'localhost', integer $port = 2003, string $protocol = 'tcp' )
$host string
$port integer
$protocol string

decrement() public method

public decrement ( $variable )

flush() public method

public flush ( )

increment() public method

public increment ( $variable )

measure() public method

public measure ( $variable, $value )

push() public method

public push ( $stat, $value, $time = null )

timing() public method

public timing ( $variable, $time )