Bug 2018094

Summary: the tooltip length is limited
Product: OpenShift Container Platform Reporter: Junqi Zhao <juzhao>
Component: MonitoringAssignee: Andrew Pickering <anpicker>
Status: CLOSED ERRATA QA Contact: Junqi Zhao <juzhao>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.10CC: amuller, anpicker, aos-bugs, erooth, jfajersk
Target Milestone: ---   
Target Release: 4.10.0   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-10 16:22:54 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:
Description Flags
even can not see the metric name on the graph none

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: 

Version-Release number of selected component (if applicable):

How reproducible:
always for 4.9/4.10

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

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.