Datadogstatsd::gauge PHP Méthode

gauge() public static méthode

Gauge
public static gauge ( string $stat, float $value, float $sampleRate = 1, array $tags = null )
$stat string The metric
$value float The value
$sampleRate float the rate (0-1) for sampling.
$tags array Key Value array of Tag => Value, or single tag as string
    public static function gauge($stat, $value, $sampleRate = 1.0, array $tags = null)
    {
        static::send(array($stat => "{$value}|g"), $sampleRate, $tags);
    }