datadog/reporter.go
func New(apiKey string) *Reporter {
	hostname, _ := os.Hostname()

	return &Reporter{
		Client:   NewClient(apiKey),
		Hostname: hostname,
		refs:     make(map[string]int8),
	}
}
func New(apiKey string) *Reporter {
	hostname, _ := os.Hostname()

	return &Reporter{
		Client:   NewClient(apiKey),
		Hostname: hostname,
		refs:     make(map[string]int8),
	}
}
func New ( apiKey string ) * Reporter { hostname , _ := os . Hostname ( ) return & Reporter { Client : NewClient ( apiKey ) , Hostname : hostname , refs : make ( map [ string ] int8 ) , } }
// New creates a new reporter.
New creates a new reporter .