Class MultiInstanceCollect
java.lang.Object
org.sentrysoftware.metricshub.engine.connector.model.monitor.task.AbstractMonitorTask
org.sentrysoftware.metricshub.engine.connector.model.monitor.task.AbstractCollect
org.sentrysoftware.metricshub.engine.connector.model.monitor.task.MultiInstanceCollect
- All Implemented Interfaces:
Serializable
The
MultiInstanceCollect class represents a task for collecting metrics from multiple instances.- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MultiInstanceCollect
public MultiInstanceCollect(Map<String, Source> sources, Mapping mapping, Set<String> executionOrder, Set<String> keys) Constructs a newMultiInstanceCollectinstance with the provided sources, mapping, execution order, and keys.- Parameters:
sources- a map of source names toSourceinstances providing the metric datamapping- the mapping information for transforming collected dataexecutionOrder- a set defining the order in which the collect tasks should be executedkeys- a set defining the keys used for collecting metrics from multiple instances
-