code: func NewPrometheusResourceMetricCollector(provider SummaryProvider, config ResourceMetricsConfig) prometheus.Collector {
  	return &resourceMetricCollector{
  		provider: provider,
  		config:   config,
  		errors: prometheus.NewGauge(prometheus.GaugeOpts{
  			Name: "scrape_error",
  			Help: "1 if there was an error while getting container metrics, 0 otherwise",
  		}),
  	}
  }
docs: // NewPrometheusResourceMetricCollector returns a prometheus.Collector which exports resource metrics