mirror of
				https://github.com/ClusterCockpit/cc-metric-collector.git
				synced 2025-11-04 02:35:07 +01:00 
			
		
		
		
	Collectors in parallel (#74)
* Provide info to CollectorManager whether the collector can be executed in parallel with others * Split serial and parallel collectors. Read in parallel first
This commit is contained in:
		@@ -28,6 +28,7 @@ type TopProcsCollector struct {
 | 
			
		||||
func (m *TopProcsCollector) Init(config json.RawMessage) error {
 | 
			
		||||
	var err error
 | 
			
		||||
	m.name = "TopProcsCollector"
 | 
			
		||||
	m.parallel = true
 | 
			
		||||
	m.tags = map[string]string{"type": "node"}
 | 
			
		||||
	m.meta = map[string]string{"source": m.name, "group": "TopProcs"}
 | 
			
		||||
	if len(config) > 0 {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user