Uploaded image for project: 'Red Hat Developer Hub Bugs'
  1. Red Hat Developer Hub Bugs
  2. RHDHBUGS-2699

Scorecard: Fix threshold configuration for metric

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 1.10.0
    • 1.8.0, 1.9.0
    • Scorecard
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      Description of problem:

      When threshold configured with wrong limits range the status always display as Success.

      Prerequisites (if any, like setup, operators/versions):

      Configure wrong limits range. For example:

      • Success <= 20;
      • Warning 20-40;
      • Error > 50.

      In example above exist gap from 40 - 50, so if metric number will be in this gap the status will be Success

      Steps to Reproduce

      1. Open an entity with synced metrics;
      2. The scorecard metric value should be in in the "gap" range.

      Actual results:

      • Status will be displayed as Success.

      Expected results:

      • Should be thrown an error if the threshold gap exist. 

      Reproducibility (Always/Intermittent/Only Once):

      • Always.

      Additional info (Such as Logs, Screenshots, etc):

      • Threshold_gap.png

              Unassigned Unassigned
              rh-ee-imykhno Ihor Mykhno
              RHDH Plugins
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: