Uploaded image for project: 'Helm'
  1. Helm
  2. HELM-305

Helm's Flow datasource cannot filter "NaN" results, breaking Grafana reduce expressions

    XMLWordPrintable

Details

    • Horizon 22 - Feb 2 - Feb 16, Horizon 22 - Feb 16 - Mar 2, Horizon 22 - Mar 2 - 16, Horizon 22 - March 16 - 30
    • Sprint
    • 900

    Description

      The OpenNMS Flows API inserts "NaN" for any cell in the result set that doesn't have a value.
      Grafana's reduce expressions will always return "NaN" if any values are null or NaN.

      Expected result:
      Helm should provide a way to filter "NaN" from the results returned by OpenNMS, so reducing expressions can be applied to them.

      Actual result:
      Any data set that includes "NaN" cannot be reduced.

      Could add a nonNull() query transform, similar to the groupByInterval() one.

      Attachments

        Issue Links

          Activity

            People

              aramos-vizcarra Alberto
              wkeaney Will Keaney
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: