Details
-
Improvement
-
Status: Done
-
Major
-
Resolution: Done
-
None
-
None
Description
Only basic math functions are currently available in Stellar for use with the Profiler. This makes life difficult for users to create even basic profiles like a running average. This can be seen in this example where the average must be calculated manually in Stellar.
```
{
"profile": "example3",
"foreach": "ip_src_addr",
"onlyif": "protocol == 'HTTP'",
"init":
,
"update":
,
"result": "sum / cnt"
}
```
Make it easier for users to create basic profiles like a running average. Also, ddd additional summary functions to Stellar to extend the capabilities of the Profiler. The following summary functions are targeted; min, max, mean, geometric mean, count, sum, sum of squares, standard deviation, variance