code: func addHTTPStatusMetricsToComponent(component newrelic_platform_go.IComponent, statusCounters map[int]metrics.Counter) {
  	for statusCode, counter := range statusCounters {
  		component.AddMetrica(&counterByStatusMetrica{
  			counter: counter,
  			name:    fmt.Sprintf("http/status/%d", statusCode),
  			units:   "count",
  		})
  	}
  }
docs: // addHTTPStatusMetricsToComponent initializes counter metrics for all http statuses and adds them to the component.