Uploaded image for project: 'Metron (Retired)'
  1. Metron (Retired)
  2. METRON-372

Enhance Statistical Operations Available for Use with the Profiler

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Done
    • Major
    • Resolution: Done
    • None
    • 0.2.1BETA
    • 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":

      { "sum": 0.0, "cnt": 0.0 }

      ,
      "update":

      { "sum": "sum + resp_body_len", "cnt": "cnt + 1" }

      ,
      "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

      Attachments

        Activity

          People

            nickwallen Nick Allen
            nickwallen Nick Allen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: