code: func (_m *MetricsProvider) NewHistogram(opts metrics.HistogramOpts) metrics.Histogram {
  	ret := _m.Called(opts)
  
  	var r0 metrics.Histogram
  	if rf, ok := ret.Get(0).(func(metrics.HistogramOpts) metrics.Histogram); ok {
  		r0 = rf(opts)
  	} else {
  		if ret.Get(0) != nil {
  			r0 = ret.Get(0).(metrics.Histogram)
  		}
  	}
  
  	return r0
  }
docs: // NewHistogram provides a mock function with given fields: opts