code: func NewAgent() *Agent {
  	agent := &Agent{
  		NewrelicName:                DefaultAgentName,
  		NewrelicPollInterval:        DefaultNewRelicPollInterval,
  		Verbose:                     false,
  		CollectGcStat:               true,
  		CollectMemoryStat:           true,
  		GCPollInterval:              DefaultGcPollIntervalInSeconds,
  		MemoryAllocatorPollInterval: DefaultMemoryAllocatorPollIntervalInSeconds,
  		AgentGUID:                   DefaultAgentGuid,
  		AgentVersion:                CurrentAgentVersion,
  		Tracer:                      nil,
  		CustomMetrics:               make([]newrelic_platform_go.IMetrica, 0),
  	}
  	return agent
  }
docs: // NewAgent builds new Agent objects.