Beberlei\Metrics\Collector\Telegraf::set PHP Method

set() public method

public set ( $variable, $value )
$variable
$value
    public function set($variable, $value)
    {
        $this->data[] = sprintf('%s%s:%s|s', $variable, $this->tags, $value);
    }