Defines how the values of the selected metric are aggregated before the quality gate is evaluated. The values are collected from the elements that actually store the metric: methods for method level metrics (e.g., cyclomatic complexity), classes for all other metrics.