Aggregation feature is not working as intended when multiple metrics are provided even though no error is being thrown. (I opened this issue since I found that it is not working as intended even on the main branch.)
Expected Behaviour
We should get an aggregated field with all metrics values properly computed.
Actual Behaviour
Only the first metric is being computed. And its value is being copied from the last output only.
Steps to Reproduce
Run the following manifest file with the main branch version.
Description of the Error
Aggregation feature is not working as intended when multiple metrics are provided even though no error is being thrown. (I opened this issue since I found that it is not working as intended even on the main branch.)
Expected Behaviour
We should get an aggregated field with all metrics values properly computed.
Actual Behaviour
Only the first metric is being computed. And its value is being copied from the last output only.
Steps to Reproduce
Run the following manifest file with the main branch version.
Manifest File That Generated the Error
The output that has been generated :