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

Grafana dashboards: make timezone configurable #68

Open
ricsanfre opened this issue Aug 24, 2022 · 0 comments
Open

Grafana dashboards: make timezone configurable #68

ricsanfre opened this issue Aug 24, 2022 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@ricsanfre
Copy link
Owner

Enhancement Description

Make timezone specified in dashboards configurable when deploying them.

In all dashboards in json format timezone is specified using timezone key

{
.....
  "timezone": "<timezone>",
  "title": "<dashboard_tittle>",
  "uid": "<dasboard_uid>",
  "version": 0,
  "description": "<dashboard_description>"
}

This key can be UTC ("utc") or local timezone ("Europe/Madrid").

Changes to be implemented

  1. Use ansible variable (defaultGrafanaDashboardsTimezone) to specify the Timezone to be used in dashboards, and transform current json dashboards into jinja templates to use that variable.

  2. kube-prometheus-stack chart uses a value grafana.defaultDashboardsTimezone to configure timezone in all dashboards it deploys. Deploy kube-prometheus-stack setting this value using the ansible variable defaultGrafanaDashboardsTimezone

@ricsanfre ricsanfre added the enhancement New feature or request label Aug 24, 2022
@ricsanfre ricsanfre added this to the backlog milestone Sep 16, 2022
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

1 participant