func (r *StatsdReporter) InitMetrics(metricMap map[MetricName]MetricType) {
}
InitMetrics is used to initialize the metrics map with the respective type
package metrics
import (
	"regexp"
	"strings"
	"time"
	"github.com/cactus/go-statsd-client/statsd"
)
const samplingRate = 1.0
type StatsdReporter struct {
	client statsd.Statter
	addr   string
	tags   map[string]string
}
type StatsdStopwatch struct {
	client    statsd.Statter
	startTime time.Time
	name      string
	tags      map[string]string
}
func NewStatsdReporter(HostPort string, Prefix string, FlushInterval time.Duration, FlushBytes int, tags map[string]string) Reporter {
	client, err := statsd.NewBufferedClient(HostPort, Prefix, FlushInterval, FlushBytes)
	if err != nil {
		return nil
	}
	return &StatsdReporter{client: client, addr: HostPort, tags: tags}
}