code: func (agent *Agent) AddCustomMetric(metric newrelic_platform_go.IMetrica) {
  	agent.CustomMetrics = append(agent.CustomMetrics, metric)
  }
docs: //AddCustomMetric adds metric to be collected periodically with NewrelicPollInterval interval