This feature will allow the Jenkins administrator to select from 3 modes of task execution, which relates to how metrics are collected and reported to Run Insights:
- Automatic: This is the default mode. The plugin will use some simple heuristics based on the number of threads in our thread pool vs. the number of processors available to the Jenkins master. If the number of threads gets too high, the plugin will internally switch to "Large Master Mode". If resources are available, the plugin will internally switch to "High Accuracy" mode.
- High Accuracy: This mode uses a thread pool, which results in more accurate metrics being collected, but can potentially be more resource intensive.
- Large Master Mode: This mode uses a polling mechanism for collecting metrics, which is more resource friendly, but less accurate.