code: func NewBatchMethodMetrics(
  	scope tally.Scope,
  	methodName string,
  	samplingRate float64,
  ) BatchMethodMetrics {
  	return BatchMethodMetrics{
  		RetryableErrors:    scope.Counter(methodName + ".retryable-errors"),
  		NonRetryableErrors: scope.Counter(methodName + ".non-retryable-errors"),
  		Errors:             scope.Counter(methodName + ".errors"),
  		Success:            scope.Counter(methodName + ".success"),
  		Latency:            MustCreateSampledTimer(scope.Timer(methodName+".latency"), samplingRate),
  	}
  }
docs: // NewBatchMethodMetrics creates new batch method metrics.