-
Type:
Incident report
-
Resolution: Cannot Reproduce
-
Priority:
Trivial
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
We have an item with an aggregated calculation and custom macros.
sum(last_foreach(/*/perf_counter_en["/Web Service(_Total)/Current Connections"]?[group={$OGROUP}]))
I setted {$OGROUP}=Test group
When testing, we get an error. Somewhere the 'group=' part disappeared and of course we get a syntax error.
I have no any problems when I use it without a macros as bellow
sum(last_foreach(/*/perf_counter_en["/Web Service(_Total)/Current Connections"]?[group="Test group"]))
The most interesting thing is that the above construction correct works - the data is collected according to the group. Error only when checking-testing.