Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-10633

Allow the "step" (or interval) to be referenced from a Measurement API expression

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Meridian-2018.1.7, 24.0.0
    • Component/s: None
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Sprint:
      Horizon - March 27th 2019, Horizon - April 3rd 2019

      Description

      Using the Measurements API we would like to be able to get the total number of errors on an interface in a given time range. The number of errors are collected and stored counters which means that the the Measurement API will return the rate of errors (errors per second) when generating the result sets.

      In order to get the total number of errors we need to multiply the rate by the step, but the value of the step is not available in the expression context.

        Attachments

          Activity

            People

            Assignee:
            j-white Jesse White
            Reporter:
            j-white Jesse White
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: