I am reading the code of node_exporter and I could not understand why do we have a generic collector.go that maintains all the various collectors and registers a generic Collector interface with prometheus?
Couldn't we register all the collector directly with prometheus? -- You received this message because you are subscribed to the Google Groups "Prometheus Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-developers/1034f67a-7e48-482a-b3e3-c04befb0ca6an%40googlegroups.com.

