PHP Class Beberlei\Metrics\Collector\Telegraf

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

Public Methods

Method Description
__construct ( string $host = 'localhost', string $port = '8125', string $prefix = '' )
decrement ( $variable )
flush ( )
gauge ( $variable, $value )
increment ( $variable )
measure ( $variable, $value )
set ( $variable, $value )
setTags ( $tags )
timing ( $variable, $time )

Method Details

__construct() public method

public __construct ( string $host = 'localhost', string $port = '8125', string $prefix = '' )
$host string
$port string
$prefix string

decrement() public method

public decrement ( $variable )

flush() public method

public flush ( )

gauge() public method

public gauge ( $variable, $value )

increment() public method

public increment ( $variable )

measure() public method

public measure ( $variable, $value )

set() public method

public set ( $variable, $value )
$variable
$value

setTags() public method

public setTags ( $tags )

timing() public method

public timing ( $variable, $time )