Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upTimezone support in the display layer #500
Comments
This comment has been minimized.
This comment has been minimized.
|
Hi, since servers usually run on GMT and that is the common time for correlating things from monitoring, logs, etc. with another, we do everything explicitly in GMT at the moment. I'm open for suggestions on how time zones could/should be configurable... |
This comment has been minimized.
This comment has been minimized.
|
I guess we should have an FAQ about the timezone issue. |
This comment has been minimized.
This comment has been minimized.
|
@LordFPL To clarify, this is mainly a display issue, right? I.e. in the UI you want to be able to choose between GMT and local time? |
This comment has been minimized.
This comment has been minimized.
|
@juliusv Yes, it's only a display issue. Choose between gmt/local will be a very good solution, or at least, take the host config. Thx in advance :) |
This comment has been minimized.
This comment has been minimized.
|
@LordFPL Well, it's a valid feature request, but low priority for us at the moment. But we welcome contributions :) Or maybe I'll get bored one weekend and do it... |
This comment has been minimized.
This comment has been minimized.
|
@juliusv This is just a minor feature yes. My message initially trying to see if it was possible to do it now. The end result is mainly cosmetic ;) |
beorn7
added
the
feature-request
label
Feb 3, 2015
beorn7
changed the title
Timezone support ?
Timezone support in the display layer
Feb 3, 2015
This comment has been minimized.
This comment has been minimized.
jack230230
commented
Dec 24, 2015
|
any follow up? |
This comment has been minimized.
This comment has been minimized.
|
As before, we are open to review and help with contributions but currently do not have capacity to spend time on it ourselves. |
This comment has been minimized.
This comment has been minimized.
|
I'm tempted to file a bug against several governments on this planet and add it as a blocker to this feature request: "Your timezone has a fatal design error: The time inexplicably has a gap of 3600s once per year, and at another time once per year, it jumps back 3600s, breaking monotonicity. That renders your timezone unusable for most purposes of time measurement and display." |
fabxc
added
kind/enhancement
and removed
feature request
labels
Apr 28, 2016
brian-brazil
referenced this issue
May 6, 2016
Closed
Support displaying X-axis of graph in local timezone #1616
This comment has been minimized.
This comment has been minimized.
LuboVarga
commented
Jan 17, 2017
|
Hi @beorn7 , there is same issue with GMT if I am not wrong. But that one is irregular and smaller scale. It is called leap second. How do you deal with that? I know that visualization of "time going backward" is an issue, but I would also like prometheus charts in local time (optionally) and I could live with some error message like "In selected period of time, time has stepped back and thus effectively making graph with non-monotonous X-axis unrendable. To visualize things, please switch back to GMT time visualization.". PS: Use-case for local time is correlating things with people calling to support (they are referring always to local time) or to kibana/elasticsearch. |
This comment has been minimized.
This comment has been minimized.
|
The leap second issue is problematic on a much different level. As we concluded elsewhere, it's not even clear how the time package in the Go standard library is supposed to handle it. Unix time usually ignores it, and the de-facto standard is to "smear out" leap seconds over about a day. The same will effectively apply to Prometheus, as it is Unix-time basedp |
beorn7
referenced this issue
Jan 26, 2017
Closed
UI: Date/time picker in the expression browser uses local time of the browser. #2371
This comment has been minimized.
This comment has been minimized.
0cjs
commented
Jul 12, 2017
•
|
@LuboVarga: It's not an issue with GMT; GMT does not observe any kind of daylight savings time. Britain uses GMT only during the winter; during the summer it uses BST, which is one hour forward of GMT. But in general, you ought not use the term GMT because the meaning attributed to it varies (some systems even consider it to be equivalent to BST during the summer, contrary to the actual definition of BST). Instead use UTC, which unambiguously does not observe any sort of daylight savings time. |
brian-brazil
added
component/ui
priority/Pmaybe
labels
Jul 14, 2017
This comment has been minimized.
This comment has been minimized.
jackyliusohu
commented
Dec 15, 2017
|
Docker in the time zone is still wrong to amend |
tdy218
referenced this issue
Feb 6, 2018
Closed
Wrong log and data timestamp showing for the wrong timezone #3803
gouthamve
referenced this issue
Sep 17, 2018
Closed
How do I change the time zone of prometheus, please #4613
This comment has been minimized.
This comment has been minimized.
kevinniu666
commented
Apr 15, 2019
|
Hope this can be resolved soon. |
This comment has been minimized.
This comment has been minimized.
NicholasLuo666
commented
Apr 15, 2019
|
Hope this to be done soon,it's really unconvenient to just only use UTC |
LordFPL commentedFeb 2, 2015
Hi all,
Is there a way configure a timezone ? I'm always in gmt time... i try to change with a new build with a dockerfile like this :
Not the good way ?