code: func WithMetricsConfig(metricsConfigs ...interface{}) Option {
  	return func(opts *options) error {
  		c, err := metricsCfg.BuildConfigMetricsFromOptions(metricsConfigs...)
  		if err != nil {
  			return err
  		}
  		opts.metricsConfig = c
  		return nil
  	}
  }
docs: // WithMetricsConfig injects a MetricsConfig interface to the SDK
  // it accepts either a full interface of MetricsConfig or a list
  // of sub interfaces each implementing one (or more) function(s) of MetricsConfig