Bug 1937496

Summary: Metrics viewer in OCP Console is missing date in a timestamp for selected datapoint
Product: OpenShift Container Platform Reporter: Martin Bukatovic <mbukatov>
Component: MonitoringAssignee: Andrew Pickering <anpicker>
Status: CLOSED ERRATA QA Contact: Junqi Zhao <juzhao>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.7CC: alegrand, anpicker, aos-bugs, erooth, hongyli, jokerman, juzhao, kakkoyun, lcosic, pkrupa
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-27 22:52:37 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:
Description Flags
screenshot #1: timestamp without a date in Metrics viewer none

Description Martin Bukatovic 2021-03-10 18:39:56 UTC
Created attachment 1762408 [details]
screenshot #1: timestamp without a date in Metrics viewer

Description of problem
======================

Metrics viewer in OCP Console doesn't display date for data points plotted in
it's chart. Reporting date makes sense no matter which time range is selected,
and is esp. useful for custom time ranges or time ranges which covers multiple
days.

Version-Release number of selected component
============================================

OCP 4.7.0-0.nightly-2021-03-06-183610

How reproducible
================

2/2

Steps to Reproduce
==================

1. Install OCP cluster 
2. In OCP Console, navigate to Monitoring -> Metrics page
3. Select time range of 2 days, and enter some prometheus query,
   eg. node_procs_running
4. Move cursor over the plotted data points and observe small black frame
   with time stamp and values inside

Actual results
==============

The black frame with values contains just a time, but not a date. See
screenshot #1 for an example.

Expected results
================

The time stamp in the frame should include a date in iso format (eg. as used
in `date --iso-8601=date` command), so that both date and time are provided.

Comment 3 hongyan li 2021-03-25 00:34:24 UTC
verified in payload 4.8.0-0.nightly-2021-03-24-183145
Tool tips contains  date and time now

Comment 6 errata-xmlrpc 2021-07-27 22:52:37 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.8.2 bug fix and 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-2021:2438