[ZBXNEXT-4717] return time period in graph title Created: 2018 Sep 06  Updated: 2024 Jan 18

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F)
Affects Version/s: 4.0.0beta1
Fix Version/s: None

Type: Change Request Priority: Major
Reporter: Oleksii Zagorskyi Assignee: Zabbix Development Team
Resolution: Unresolved Votes: 37
Labels: graph, regression, timeperiod, usability
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2024-01-18-13-20-17-743.png     PNG File image-2024-01-18-13-22-13-857.png    
Issue Links:
Duplicate
is duplicated by ZBXNEXT-4818 Restore time period indication on graph Closed

 Description   

Previously, the selected time period was displayed in the graph title. This is lost now in pre-4.0.

Showing it in the graph itself was highly useful, as we tend to attach graphs to incidents or provide them to other people for different purposes.
It helped to quickly identify a graph covering 1 hour, month or year. Determining this from the timeline is error prone and is extremely hard.

 

For example long time ago there was very similar case ZBX-1120.



 Comments   
Comment by Valdis Murzins [ 2018 Oct 22 ]

It was removed in scope of ZBXNEXT-4361.
While it is easy to display it in old graphs, the problem is, how new timeline calculates the period for quick ranges:

  • Last 3 months = 3m 2d
  • Today = 23h 59m 59 sec
  • Previous week = 6d 23h 59m

I think, this inconsistency was the reason, the period was removed.

Also, if we will display period on old graph title (or somewhere else), we might also think about adding it to Classic graph widgets and New Graph widgets. Widget title can be used for this, but maybe some better place can be found.

Comment by richlv [ 2018 Oct 31 ]

We're seeing this issue every now and then. Graphs are attached to tickets or shared otherwise, and it is very hard to operate on data coming from Zabbix now - graphs for different time periods are being mixed up and cause confusion when investigating outages.

Comment by richlv [ 2019 Jan 24 ]

Thank you for sharing some of the considerations. While the period might not look as exact, it is hardly a bigger problem than not having the period at all. Even in the worst cases like "6d 23h 59m" the user can quickly figure out that it's somewhere around 6 or 7 days. Without the period shown user is disappointed.

Now let's look at the graphs before this feature disappeared. If one uses the time period scrollbar or drag-zoom (very common), they would still get such a period shown. Testing that just now with Zabbix 2.4, I see a period of "6d 13h 52m". It does not seem to cause any major problems, and does not seem to have caused any major problems for many years.

If there was a major reason why this is a problem, adding rounding based on the length of the time period would have been much more preferred over dropping a feature.

Comment by ysus [ 2019 Feb 12 ]

Dear Zabbix Developers,

Could you please advise if there are any plans to restore this extremely useful functionality? Even if this issue has only 16 votes I guess it affects many other customers.

Appreciate your understanding.

Comment by dimir [ 2021 Jul 08 ]

36 votes now.

Comment by richlv [ 2021 Aug 08 ]

Dear developers, any thoughts on the detail, discussed in January 2019?

Comment by Marco Hofmann [ 2021 Aug 09 ]

Maybe this request belongs partly to this request (https://support.zabbix.com/browse/ZBX-16162?focusedCommentId=560785&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-560785), as Kalimulin speaks about replacing the Graphs engine from PNG to SVG. Maybe this belongs together. Just an idea.

Comment by richlv [ 2024 Jan 18 ]

For the record, a regression like this was already fixed once in the past, ZBX-1120.

Judging by the comments on this issue, there were no functional reasons to remove this feature.

Then:

Now:

Generated at Fri Apr 19 11:07:22 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.