Bug 2018094 - the tooltip length is limited
Summary: the tooltip length is limited
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Monitoring
Version: 4.10
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: 4.10.0
Assignee: Andrew Pickering
QA Contact: Junqi Zhao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-10-28 08:31 UTC by Junqi Zhao
Modified: 2022-03-10 16:23 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-10 16:22:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
even can not see the metric name on the graph (106.88 KB, image/png)
2021-10-28 08:31 UTC, Junqi Zhao
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 10657 0 None open Bug 2018094: Monitoring dashboards: Allow tooltip width to extend further 2021-12-14 05:11:58 UTC
Red Hat Product Errata RHSA-2022:0056 0 None None None 2022-03-10 16:23:10 UTC

Description Junqi Zhao 2021-10-28 08:31:46 UTC
Created attachment 1837863 [details]
even can not see the metric name on the graph

Description of problem:
the tooltip length is limited, sometimes we can not even see the metric name on the graph if the metric is too long, example: 
prometheus_tsdb_checkpoint_creations_total

Version-Release number of selected component (if applicable):
4.10.0-0.nightly-2021-10-27-230233

How reproducible:
always for 4.9/4.10

Steps to Reproduce:
1. go to "Observe -> Metrics", search with prometheus_tsdb_checkpoint_creations_total
2.
3.

Actual results:
can not even see the metric name(prometheus_tsdb_checkpoint_creations_total) on the graph

Expected results:


Additional info:

Comment 1 Andrew Pickering 2021-12-14 05:16:37 UTC
Opened PR https://github.com/openshift/console/pull/10657 which increases the tooltip width. There will always be cases of metric names that are too long to display well, but I believe this PR strikes a good balance.

Comment 2 Junqi Zhao 2021-12-14 13:18:17 UTC
for prometheus_tsdb_checkpoint_creations_total, the result is much better.
but for longer metrics name, example, prometheus_operator_kubernetes_client_rate_limiter_duration_seconds_count still the same issue
if the maximum allowed width only can set to 400px, the fix is LGTM.

Comment 8 Junqi Zhao 2021-12-20 09:14:59 UTC
fix is in 4.10.0-0.nightly-2021-12-18-034942, based on Comment 2 to 7, set to VERIFIED

Comment 12 errata-xmlrpc 2022-03-10 16:22:54 UTC
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 (Moderate: OpenShift Container Platform 4.10.3 security update), 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/RHSA-2022:0056


Note You need to log in before you can comment on or make changes to this bug.