Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Change Mimir Dashboard Time Zone from UTC to Browser Local Time #10745

Open
kakaru1331 opened this issue Feb 26, 2025 · 5 comments
Open
Labels
enhancement New feature or request

Comments

@kakaru1331
Copy link

Is your documentation request related to a feature? If so, which one?

Yes, this request relates to the Grafana Mimir dashboards, specifically the pre-compiled dashboards located in operations/mimir-mixin-compiled/dashboards/*.
These dashboards currently default to UTC time, and I’d like them to reflect the browser’s local time zone instead.

What is the solution that you would like or the expected outcome?

I’d like the Mimir dashboards to use the browser’s local time zone by default instead of UTC.
Ideally, this could be achieved by:

Updating the dashboard JSON files in operations/mimir-mixin-compiled/dashboards/* to set "timezone": "browser" instead of "timezone": "utc".
The expected outcome is that when I load a dashboard like mimir-overview.json in Grafana, timestamps reflect my local browser time (e.g. Asia/Seoul) rather than UTC, without requiring manual edits to each dashboard file.

What did you think would happen?

I assumed the Mimir dashboards would either default to the browser’s time zone or offer a straightforward way to configure it, as this is a standard feature in Grafana.
Instead, after deploying via Docker Compose, I found all dashboards locked to UTC, with no obvious runtime toggle or setting to adjust this behavior.

What was your environment?

I’m running Grafana Mimir in a Docker Compose setup:

Grafana Mimir: Latest stable version as of February 25, 2025 (specific version not provided, but assume current).
Dashboards Path: operations/mimir-mixin-compiled/dashboards/*.
Grafana: Running alongside Mimir in Docker Compose, using Mimir as the data source.
Browser Time Zone: My local time zone is [e.g. Asia/Seoul—replace with your actual time zone], but dashboards display everything in UTC.

Any additional context to share?

The compiled dashboards (e.g. mimir-overview.json) in operations/mimir-mixin-compiled/dashboards/* have their timezone field hardcoded to "utc" in the JSON.
Manually changing this to "browser" works locally,
but it’s not practical for all dashboards and gets overwritten if the mixin is recompiled.
A project-level solution—either updating the mixin defaults or adding a configurable time zone option—would make this seamless for Docker Compose users like me.
I’d be happy to test any proposed changes!

@kakaru1331 kakaru1331 added the type/docs Improvements or additions to documentation label Feb 26, 2025
@derek-cadzow
Copy link
Contributor

derek-cadzow commented Mar 4, 2025

@kakaru1331 I may be reading this incorrectly, but it sounds like a UI change request? (These dashboards currently default to UTC time, and I’d like them to reflect the browser’s local time zone instead.)

If that's correct, then there'd be a documentation update if the request is accepted and the update is made. Can you let us know how far down this process you are? If it's not accepted yet, then there's no documentation update to make until it is. Let me know please...! :)

cc: @tacole02

@tacole02
Copy link
Contributor

tacole02 commented Mar 6, 2025

Hi @kakaru1331 ! Thanks for submitting this request. It seems more like a request for Mimir itself, rather than the documentation. I think you should replace the type/doc label with the enhancement label to ensure the right people see this. 😄

@kakaru1331
Copy link
Author

kakaru1331 commented Mar 6, 2025

Thank you for replying to me first.

@derek-cadzow
I believe I’ve understood your request correctly.

@tacole02
And As you said It appears to be more of a feature request for Mimir itself rather than something related to the documentation.

However it seems like I can’t change the label myself.
Should I create a new issue again?

@tacole02 tacole02 added enhancement New feature or request and removed type/docs Improvements or additions to documentation labels Mar 6, 2025
@tacole02
Copy link
Contributor

tacole02 commented Mar 6, 2025

No worries, @kakaru1331 . I've updated the label for you 😄

CC: @mattmendick

@56quarters
Copy link
Contributor

56quarters commented Mar 7, 2025

We use UTC exclusively at Grafana Labs. We could possibly add a setting to config.libsonnet for the mixin, allowing you to build your own version of the dashboards. However, the default is definitively not going to be changed. Feel free to open a PR to add configuration to the mixin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants