Hi Alexandre,

If I .Clone() a statsd.Client, say in a go-routine, do I need to .Close() 
the clone? 

Thank you,

Mike

On Monday, March 21, 2016 at 7:32:24 AM UTC-5, Alexandre Cesaro wrote:
>
> I just released statsd.v2 <https://github.com/alexcesaro/statsd>.
>
> The API is more flexible: it now accepts any type of integer or float with 
> almost no performance loss and it's easier to set tags for a specific 
> metric.
> The API has also been cleaned thanks to all your inputs.
>
> Check the changelog 
> <https://github.com/alexcesaro/statsd/blob/master/CHANGELOG.md> for more 
> details.
>
> On Wed, Dec 2, 2015 at 7:04 PM, Alexandre Cesaro <alexandr...@gmail.com 
> <javascript:>> wrote:
>
>>
>> On Wed, Dec 2, 2015 at 6:34 PM, Klaus Post <klau...@gmail.com 
>> <javascript:>> wrote:
>>
>>> Hi!
>>>
>>> On Wednesday, 2 December 2015 18:03:37 UTC+1, Alexandre Cesaro wrote:
>>>>
>>>> I just added support for Datadog and InfluxDB tags: 
>>>> https://godoc.org/gopkg.in/alexcesaro/statsd.v1#WithDatadogTags
>>>
>>>
>>> Very nice library. Does exactly what you need.
>>>
>>> One quick question. Why is `WithDatadogTags` and `WithInfluxDBTags` not 
>>> just a single `WithTags` function. It seems to do the same, just with a 
>>> different syntax?
>>>
>>
>> That's because InfluxDB tags are key-value pairs while it is not 
>> necessarily the case for Datadog tags.
>>  
>>
>>>
>>>
>>> /Klaus
>>>
>>> PS. If you are to do a v2, consider dropping the "With" in the Option 
>>> methods - it is just filler.
>>>
>>
>> Right, I did it because people seemed to like it:
>> https://twitter.com/davecheney/status/654142372415074304
>>
>> But now that I am looking at these functions again I agree it doesn't 
>> make the code more readable.
>>  
>>
>>>
>>> -- 
>>> You received this message because you are subscribed to a topic in the 
>>> Google Groups "golang-nuts" group.
>>> To unsubscribe from this topic, visit 
>>> https://groups.google.com/d/topic/golang-nuts/Tz6t4_iLgnw/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to 
>>> golang-nuts...@googlegroups.com <javascript:>.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to