code: func NewHawkularSink(u *url.URL) (core.DataSink, error) {
  	sink := &hawkularSink{
  		uri:       u,
  		batchSize: 1000,
  	}
  	if err := sink.init(); err != nil {
  		return nil, err
  	}
  
  	metrics := make([]core.MetricDescriptor, 0, len(core.AllMetrics))
  	for _, metric := range core.AllMetrics {
  		metrics = append(metrics, metric.MetricDescriptor)
  	}
  	sink.Register(metrics)
  	return sink, nil
  }
docs: // NewHawkularSink Creates and returns a new hawkularSink instance