reporter icon indicating copy to clipboard operation
reporter copied to clipboard

feature: configuration of report timezone

Open DEvil0000 opened this issue 4 years ago • 7 comments

please add report timezone configuration option. for image rendering it is the parameter: tz=Europe%2FBerlin

DEvil0000 avatar Mar 23 '20 15:03 DEvil0000

The reporter uses the timezone of the server it is hosted on by default. Is that not sufficient?

IzakMarais avatar Apr 30 '20 14:04 IzakMarais

See #43

IzakMarais avatar Apr 30 '20 14:04 IzakMarais

We have our dashboards set to display UTC - just happens to be what suits our system. The reporter also shows our graphs as UTC, but the pdf heading is local timezone - which is quite nice, as it gives us a bit of both. The 'UTC' bit isn't shown in the pdf against the graphs, so you do need to know - but again, it can be inferred from the heading. I nearly 'complained' about the timezone being captured wrong until I realised that it's only the heading which is local. It's ok for me as it is, Izak - I wouldn't object to more control over things, as long as config options would allow for all permutations! We certainly wouldn't want a change that meant we saw nothing but localtime - we happen to need UTC, as that's what our (global) system uses throughout. Just my feedback....

chelliwell avatar Apr 30 '20 14:04 chelliwell

@chelliwell This implies that the server running the reporter is set to use local time. You could change it to use UTC and then your problem would go away.

IzakMarais avatar Apr 30 '20 15:04 IzakMarais

Yes, it is. But it's no problem - my dashboards set UTC and that goes into the graphs in the pdf (not being over-ridden anywhere lol), so I'm content with how it is atm :)

chelliwell avatar Apr 30 '20 15:04 chelliwell

The reporter uses the timezone of the server it is hosted on by default. Is that not sufficient?

No thats not sufficient for me. The system TZ and the dashboard or report TZ will differ in our usecase. Some more control here with such a parameter would help me and should not hurt others.

DEvil0000 avatar May 05 '20 14:05 DEvil0000

It also appears that the timezone listed at the top of the generated pdf spells out time and time zone from the rendering machine, but it is mismatched with the time on the rendered graph if the grafana server is different. image image

mike-lieven avatar Oct 21 '20 03:10 mike-lieven