Bug 1735520
Summary: | the search metrics textarea is not auto fit for the alert rule expression | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Junqi Zhao <juzhao> |
Component: | Management Console | Assignee: | Andrew Pickering <anpicker> |
Status: | CLOSED ERRATA | QA Contact: | Junqi Zhao <juzhao> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 4.2.0 | CC: | aos-bugs, cshinn, cvogel, jokerman, spadgett |
Target Milestone: | --- | ||
Target Release: | 4.2.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-10-16 06:34:15 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Attachments: |
Created attachment 1596867 [details]
metrics in firefox
Created attachment 1596868 [details]
metrics in chrome
fix is not in the latest OCP build:4.2.0-0.nightly-2019-08-29-170426, will wait for new build Created attachment 1610604 [details]
firefox - AlertmanagerConfigInconsistent
Created attachment 1610605 [details]
chrome - AlertmanagerConfigInconsistent
much better with 4.2.0-0.nightly-2019-09-02-172410 but the third line can not be viewed clearly in firefox, the third line can not be viewed clearly in chrome. It may be not good (In reply to Junqi Zhao from comment #11) > much better with 4.2.0-0.nightly-2019-09-02-172410 > but the third line can not be viewed clearly in firefox, the third line can > not be viewed clearly in chrome. > It may be not good correction: but the third line can not be viewed clearly in firefox, the first line can not be viewed clearly in chrome. Created attachment 1611016 [details]
the third line can not be viewed clearly in firefox
Created attachment 1611017 [details]
the first line can not be viewed clearly in chrome
Created attachment 1611018 [details]
the third line can not be viewed clearly in firefox
Created attachment 1611019 [details]
the first line can not be viewed clearly in chrome
move back to Assigned I think the textarea size is acceptable. The current default should be enough for the large majority of queries and it is always possible to manually expand it. Also, the difference between Chrome and Firefox (whether the textarea scrolls to the top or bottom) seems OK since either behavior should be equally good. move to VERIFIED as per Comment 18 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:2922 |
Created attachment 1596855 [details] query browser page Description of problem: find the AlertmanagerConfigInconsistent alert in "Monitoring -> Alerting", and go to the alert rule detail page, Expression is: count_values by(service) ("config_hash", alertmanager_config_hash{job="alertmanager-main",namespace="openshift-monitoring"}) / on(service) group_left() label_replace(prometheus_operator_spec_replicas{controller="alertmanager",job="prometheus-operator",namespace="openshift-monitoring"}, "service", "alertmanager-$1", "name", "(.*)") != 1 Click the link, it navigates to Query Browser, see the attached picture, at the first glance, we would think the expression is: "(.*)") != 1 need to drag the textarea to enlarge, and then can see the full expression Maybe we should not add link the alert rule Expression, 4.1 does not have this link Version-Release number of selected component (if applicable): 4.2.0-0.nightly-2019-07-31-162901 How reproducible: Alwasy Steps to Reproduce: 1. See the description 2. 3. Actual results: Expected results: Additional info: