public function set($metric, $uniqueValue, array $tags =array(), $sampleRate = AbstractMetric::DEFAULT_SAMPLE_RATE)
    {
        return new Set($this->prefix($metric), $uniqueValue, array_merge($this->defaultTags, $tags), $sampleRate);
    }
public function set($metric, $uniqueValue, array $tags =array(), $sampleRate = AbstractMetric::DEFAULT_SAMPLE_RATE)
    {
        return new Set($this->prefix($metric), $uniqueValue, array_merge($this->defaultTags, $tags), $sampleRate);
    }
public function set ( $ metric , $ uniqueValue , array $ tags = array ( ) , $ sampleRate = AbstractMetric :: DEFAULT_SAMPLE_RATE ) { return new Set ( $ this -> prefix ( $ metric ) , $ uniqueValue , array_merge ( $ this -> defaultTags , $ tags ) , $ sampleRate ) ; }
Creates a new set

@param string $metric      Metric name
@param mixed  $uniqueValue Unique value for the set
@param array  $tags        Metric tags
@param int    $sampleRate  Metric sample rate

@return Set
Creates a new set