Resource graphs use browser timezone instead of system timezone

Description

With nodes (and humans) all over the world. we generally use UTC for monitoring (and syslogs etc.) so that it’s easier to correlate across systems.

OpenNMS running with TZ=Etc/UTC lets me choose time periods in UTC, but displays X values in the graph using my browser’s timezone (unlike other graphing platforms). This confuses my end-users.

eg. I’m in the Eastern timezone. If I graph traffic from Sun Feb 26 20:54:27 UTC 2023 → Mon Feb 27 20:54:27 UTC 2023 (aka ‘Last Day’) the first X value I see in the ‘Data’ tab is Sun Feb 26 15:55 and the final one is Mon Feb 27 15:50 (I see 15:55 and 15:50 if I hover over the first or last point in the graph).

The Raw values option in the Data tab does show a unix timestamp that gives the correct time (as expected).

Acceptance / Success Criteria

None

Activity

Jeff Gehlbach February 28, 2023 at 8:51 PM

Confirmed this issue is a duplicate of . We’ve known about it for some time but have put off working on it since we didn’t have many reports of users impacted by it. Thanks for speaking up, .

I’m going to resolve this issue as a dupe, and promote the other issue into the team’s refined backlog so that we can get it scheduled for an upcoming sprint.

Veena Kannan February 28, 2023 at 8:05 PM

This is likely to be a duplicate. to follow up on the dup.

Fixed

Details

Assignee

Reporter

HB Grooming Date

HB Backlog Status

Components

Affects versions

Priority

PagerDuty

Created February 27, 2023 at 9:02 PM
Updated February 28, 2023 at 8:51 PM
Resolved February 28, 2023 at 8:51 PM