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
- Open an entity with synced metrics;
- 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