PHP Class Beberlei\Metrics\Collector\Telegraf

Inheritance: implements Beberlei\Metrics\Collector\Collector, implements Beberlei\Metrics\Collector\GaugeableCollector, implements Beberlei\Metrics\Collector\TaggableCollector
Afficher le fichier Open project: beberlei/metrics

Méthodes publiques

Méthode 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 méthode

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

decrement() public méthode

public decrement ( $variable )

flush() public méthode

public flush ( )

gauge() public méthode

public gauge ( $variable, $value )

increment() public méthode

public increment ( $variable )

measure() public méthode

public measure ( $variable, $value )

set() public méthode

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

setTags() public méthode

public setTags ( $tags )

timing() public méthode

public timing ( $variable, $time )