func (c *prometheusCollector) Collect(ch chan<- prometheus.Metric) {
	for _, s := range c.stores {
		for _, p := range s.List() {
			c.collectPrometheus(ch, p.(*v1.Prometheus))
		}
	}
}
// Collect implements the prometheus.Collector interface.
Collect implements the prometheus.Collector interface.
// Collect implements the prometheus . Collector interface .
func (c *prometheusCollector) Collect(ch chan<- prometheus.Metric) {
	for _, s := range c.stores {
		for _, p := range s.List() {
			c.collectPrometheus(ch, p.(*v1.Prometheus))
		}
	}
}
func ( c * prometheusCollector ) Collect ( ch chan <- prometheus . Metric ) { for _ , s := range c . stores { for _ , p := range s . List ( ) { c . collectPrometheus ( ch , p . ( * v1 . Prometheus ) ) } } }
Collect implements the prometheus.Collector interface.
Collect implements the prometheus . Collector interface .