influxdata / influxdata/ui

Alerts: Edit check - threshold bars are missing

Open
#3,705 0 comments 0 reactions 0 assignees View on GitHub
bonitoo kind/bug severity/sev-4 team/automation team/ui team/unity
Dominant language
TypeScript
Stars
117
Forks
51
Avg merge
2d 15h
Merged PRs (30d)
4

Description

## About the bug

**Steps to reproduce:**
List the minimal actions needed to reproduce the behavior.

1. Add test data to a bucket
2. Alerts > Create new Threshold check
3. Define query
4. Define a critical threshold. A Red bar appears in the graph matching the threshold value.
5. Save
6. After a while click on the Threshold check created in the previous steps. Opens the Check Editor with the Thresholds definition tab open

**Expected behavior:**

In the graph expected to see the red bar corresponding to the critical threshold definition.

**Actual behavior:**

No bars for thresholds are appearing.
Tried...
* toggling visiblity,
* redefining existing critical threshold.
* adding a new warning threshold

The corresponding bars in the graph do not appear.
**Visual Proof:**

![ClassicCheckDefinition02](https://user-images.githubusercontent.com/25881301/151141419-e3fecd93-236d-48bb-bbba-7a2777c8a48e.png)

**Regression**
I've been working with writing automated tests for Alerts recently, and am fairly certain that upon opening checks for editing recently, the bars were present. So, this is possibly a regression issue.

## About your environment

**Environment info:**

Testing in K8S-IDPE remocal.

Latest Commit in Project UI
```
commit a918e664f19a21d33b21fe2c19c7cac8aa01c573 (upstream/master, origin/master, origin/HEAD, master)
Author: Palakp41
Date: Tue Jan 25 17:16:27 2022 -0800
```
Latest Commit in K8S-IDPE
```
commit 84c1d4fd7f71ca41759a5f31e3c245c59f3bd4da (HEAD -> master, origin/master, origin/HEAD)
Author: Hercules Mango Churchill
Date: Wed Jan 26 02:00:44 2022 +0000
```

**Config:**

**Logs:**

Nothing in logs

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.