code: func NewPrometheusProvider(r metrics.Registry, namespace string, subsystem string, promRegistry prometheus.Registerer, FlushInterval time.Duration) *PrometheusConfig {
  	return &PrometheusConfig{
  		namespace:     namespace,
  		subsystem:     subsystem,
  		Registry:      r,
  		promRegistry:  promRegistry,
  		FlushInterval: FlushInterval,
  		gauges:        make(map[string]prometheus.Gauge),
  	}
  }
docs: // NewPrometheusProvider returns a Provider that produces Prometheus metrics.
  // Namespace and subsystem are applied to all produced metrics.