Add configurable GRAPHITE_PREFIX

[ Quoting <notifications@github.com> in "Re: [skydns] Add configurable GRAPH..." ]
>> @@ -61,11 +66,10 @@ func init() {
>>
>>  func statsCollect() {
>>  	if graphiteServer != "" {
>> -		addr, err := net.ResolveTCPAddr("tcp", graphiteServer)
>> -		if err != nil {
>> -			go metrics.Graphite(metrics.DefaultRegistry, 10e9, "skydns", addr)
>> -		}
>> +		addr, _ := net.ResolveTCPAddr("tcp", graphiteServer)
>
>Actually looking at the documentation net.ResolveTCPAddr should work, should err != nil be err == nil, as is if there wasn't an error resolving the address, post the metric?

Errr... yeah, that make sense.

/Miek

-- 
Miek Gieben