From eff8697c324e782bf7ae4987bf56a4176ad90ce6 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 8 Aug 2024 11:27:42 +0800 Subject: [PATCH] fix: adjust Grafana timezone handling for non-UTC databases (#7865) (#7867) Co-authored-by: abeizn --- grafana/dashboards/AzureDevOps.json | 2 +- grafana/dashboards/Bamboo.json | 2 +- grafana/dashboards/BitBucket.json | 2 +- grafana/dashboards/CircleCI.json | 2 +- grafana/dashboards/ComponentAndFileLevelMetrics.json | 2 +- grafana/dashboards/ContributorExperience.json | 2 +- grafana/dashboards/DORA.json | 2 +- grafana/dashboards/DORAByTeam.json | 2 +- grafana/dashboards/DORADebug.json | 2 +- grafana/dashboards/DORADetails-ChangeFailureRate.json | 2 +- grafana/dashboards/DORADetails-DeploymentFrequency.json | 2 +- .../dashboards/DORADetails-FailedDeploymentRecoveryTime.json | 2 +- grafana/dashboards/DORADetails-LeadTimeforChanges.json | 2 +- grafana/dashboards/DORADetails-TimetoRestoreService.json | 2 +- .../dashboards/DemoAverageRequirementLeadTimeByAssignee.json | 2 +- grafana/dashboards/DemoCommitCountByAuthor.json | 2 +- grafana/dashboards/DemoDetailedBugInfo.json | 2 +- grafana/dashboards/DemoHomepage.json | 2 +- .../DemoHowFastDoWeRespondToCustomerRequirements.json | 2 +- grafana/dashboards/DemoIsThisMonthMoreProductiveThanLast.json | 2 +- grafana/dashboards/DemoWasOurQualityImprovedOrNot.json | 2 +- grafana/dashboards/EngineeringOverview.json | 2 +- grafana/dashboards/EngineeringThroughputAndCycleTime.json | 2 +- .../dashboards/EngineeringThroughputAndCycleTimeTeamView.json | 2 +- grafana/dashboards/GitHub.json | 2 +- .../dashboards/GithubReleaseQualityAndContributionAnalysis.json | 2 +- grafana/dashboards/Gitlab.json | 2 +- grafana/dashboards/Homepage.json | 2 +- grafana/dashboards/Jenkins.json | 2 +- grafana/dashboards/Jira.json | 2 +- grafana/dashboards/Opsgenie.json | 2 +- grafana/dashboards/PagerDuty.json | 2 +- grafana/dashboards/Sonarqube.json | 2 +- grafana/dashboards/TAPD.json | 2 +- grafana/dashboards/Teambition.json | 2 +- grafana/dashboards/WeeklyBugRetro.json | 2 +- grafana/dashboards/WeeklyCommunityRetro.json | 2 +- grafana/dashboards/WorkLogs.json | 2 +- grafana/dashboards/Zentao.json | 2 +- 39 files changed, 39 insertions(+), 39 deletions(-) diff --git a/grafana/dashboards/AzureDevOps.json b/grafana/dashboards/AzureDevOps.json index 85823ba85bf..3f8f00f98b1 100644 --- a/grafana/dashboards/AzureDevOps.json +++ b/grafana/dashboards/AzureDevOps.json @@ -2327,7 +2327,7 @@ "to": "now" }, "timepicker": {}, - "timezone": "", + "timezone": "utc", "title": "Azure DevOps", "uid": "ba7e3a95-80ed-4067-a54b-2a82758eb3dd", "version": 5, diff --git a/grafana/dashboards/Bamboo.json b/grafana/dashboards/Bamboo.json index d34c5e75782..aa09186d94d 100644 --- a/grafana/dashboards/Bamboo.json +++ b/grafana/dashboards/Bamboo.json @@ -1211,7 +1211,7 @@ "to": "now" }, "timepicker": {}, - "timezone": "", + "timezone": "utc", "title": "Bamboo", "uid": "a90e58d9-7acc-4858-aa77-f606d11a7d4a", "version": 2, diff --git a/grafana/dashboards/BitBucket.json b/grafana/dashboards/BitBucket.json index 6a2023cd6b1..4f281c67f99 100644 --- a/grafana/dashboards/BitBucket.json +++ b/grafana/dashboards/BitBucket.json @@ -2327,7 +2327,7 @@ "to": "now" }, "timepicker": {}, - "timezone": "", + "timezone": "utc", "title": "Bitbucket", "uid": "4LzQHZa4k", "version": 5, diff --git a/grafana/dashboards/CircleCI.json b/grafana/dashboards/CircleCI.json index bc4c556e86a..439d8058de7 100644 --- a/grafana/dashboards/CircleCI.json +++ b/grafana/dashboards/CircleCI.json @@ -1264,7 +1264,7 @@ }, "timeRangeUpdatedDuringEditOrView": false, "timepicker": {}, - "timezone": "", + "timezone": "utc", "title": "CircleCI", "uid": "CircleCI", "version": 3, diff --git a/grafana/dashboards/ComponentAndFileLevelMetrics.json b/grafana/dashboards/ComponentAndFileLevelMetrics.json index d6ef8d62775..4f66a171c99 100644 --- a/grafana/dashboards/ComponentAndFileLevelMetrics.json +++ b/grafana/dashboards/ComponentAndFileLevelMetrics.json @@ -1330,7 +1330,7 @@ "1d" ] }, - "timezone": "", + "timezone": "utc", "title": "Component and File-level Metrics", "uid": "KxUh7IG4z", "version": 2, diff --git a/grafana/dashboards/ContributorExperience.json b/grafana/dashboards/ContributorExperience.json index 5cc9fdc6940..6ec29831d71 100644 --- a/grafana/dashboards/ContributorExperience.json +++ b/grafana/dashboards/ContributorExperience.json @@ -922,7 +922,7 @@ "to": "now" }, "timepicker": {}, - "timezone": "", + "timezone": "utc", "title": "Contributor Experience", "uid": "bwsP5Nz4z", "version": 2, diff --git a/grafana/dashboards/DORA.json b/grafana/dashboards/DORA.json index a09745513f4..79c2a1959df 100644 --- a/grafana/dashboards/DORA.json +++ b/grafana/dashboards/DORA.json @@ -1522,7 +1522,7 @@ "to": "now" }, "timepicker": {}, - "timezone": "", + "timezone": "utc", "title": "DORA", "uid": "qNo8_0M4z", "version": 8, diff --git a/grafana/dashboards/DORAByTeam.json b/grafana/dashboards/DORAByTeam.json index 7af79af51c0..b755996cc4e 100644 --- a/grafana/dashboards/DORAByTeam.json +++ b/grafana/dashboards/DORAByTeam.json @@ -1244,7 +1244,7 @@ "to": "now" }, "timepicker": {}, - "timezone": "", + "timezone": "utc", "title": "DORA (by Team)", "uid": "66YkL8y4z", "version": 4, diff --git a/grafana/dashboards/DORADebug.json b/grafana/dashboards/DORADebug.json index ccfa6efa4fe..df4579f5422 100644 --- a/grafana/dashboards/DORADebug.json +++ b/grafana/dashboards/DORADebug.json @@ -3880,7 +3880,7 @@ "to": "now" }, "timepicker": {}, - "timezone": "", + "timezone": "utc", "title": "DORA Validation", "uid": "KGkUnV-Vz", "version": 3, diff --git a/grafana/dashboards/DORADetails-ChangeFailureRate.json b/grafana/dashboards/DORADetails-ChangeFailureRate.json index de3fe69dcf4..8048b282b1f 100644 --- a/grafana/dashboards/DORADetails-ChangeFailureRate.json +++ b/grafana/dashboards/DORADetails-ChangeFailureRate.json @@ -750,7 +750,7 @@ "to": "now" }, "timepicker": {}, - "timezone": "", + "timezone": "utc", "title": "DORA Details - Change Failure Rate", "uid": "Change-failure-rate", "version": 3, diff --git a/grafana/dashboards/DORADetails-DeploymentFrequency.json b/grafana/dashboards/DORADetails-DeploymentFrequency.json index c4704673bcf..9ff4541e796 100644 --- a/grafana/dashboards/DORADetails-DeploymentFrequency.json +++ b/grafana/dashboards/DORADetails-DeploymentFrequency.json @@ -1324,7 +1324,7 @@ "to": "now" }, "timepicker": {}, - "timezone": "", + "timezone": "utc", "title": "DORA Details - Deployment Frequency", "uid": "Deployment-frequency", "version": 8, diff --git a/grafana/dashboards/DORADetails-FailedDeploymentRecoveryTime.json b/grafana/dashboards/DORADetails-FailedDeploymentRecoveryTime.json index ad5331e4d30..834605dad63 100644 --- a/grafana/dashboards/DORADetails-FailedDeploymentRecoveryTime.json +++ b/grafana/dashboards/DORADetails-FailedDeploymentRecoveryTime.json @@ -470,7 +470,7 @@ "to": "now" }, "timepicker": {}, - "timezone": "", + "timezone": "utc", "title": "DORA Details - Failed Deployment Recovery Time", "uid": "Failed-deployment-recovery-time", "version": 3, diff --git a/grafana/dashboards/DORADetails-LeadTimeforChanges.json b/grafana/dashboards/DORADetails-LeadTimeforChanges.json index 255d8160cd7..5fa6fc7de62 100644 --- a/grafana/dashboards/DORADetails-LeadTimeforChanges.json +++ b/grafana/dashboards/DORADetails-LeadTimeforChanges.json @@ -944,7 +944,7 @@ "to": "now" }, "timepicker": {}, - "timezone": "", + "timezone": "utc", "title": "DORA Details - Lead Time for Changes", "uid": "Lead-time-for-changes", "version": 6, diff --git a/grafana/dashboards/DORADetails-TimetoRestoreService.json b/grafana/dashboards/DORADetails-TimetoRestoreService.json index 652874e45c3..24f99a534a1 100644 --- a/grafana/dashboards/DORADetails-TimetoRestoreService.json +++ b/grafana/dashboards/DORADetails-TimetoRestoreService.json @@ -457,7 +457,7 @@ "to": "now" }, "timepicker": {}, - "timezone": "", + "timezone": "utc", "title": "DORA Details - Time to Restore Service", "uid": "Time-to-restore-service", "version": 3, diff --git a/grafana/dashboards/DemoAverageRequirementLeadTimeByAssignee.json b/grafana/dashboards/DemoAverageRequirementLeadTimeByAssignee.json index 3f17d0143df..c2c7c1eef4b 100644 --- a/grafana/dashboards/DemoAverageRequirementLeadTimeByAssignee.json +++ b/grafana/dashboards/DemoAverageRequirementLeadTimeByAssignee.json @@ -243,7 +243,7 @@ "to": "now" }, "timepicker": {}, - "timezone": "", + "timezone": "utc", "title": "Demo-Average Requirement Lead Time By Assignee", "uid": "q27fk7cnk", "version": 6 diff --git a/grafana/dashboards/DemoCommitCountByAuthor.json b/grafana/dashboards/DemoCommitCountByAuthor.json index e98fcf70230..7e28acce231 100644 --- a/grafana/dashboards/DemoCommitCountByAuthor.json +++ b/grafana/dashboards/DemoCommitCountByAuthor.json @@ -250,7 +250,7 @@ "to": "now" }, "timepicker": {}, - "timezone": "", + "timezone": "utc", "title": "Demo-Commit Count by Author", "uid": "F0iYknc7z", "version": 3 diff --git a/grafana/dashboards/DemoDetailedBugInfo.json b/grafana/dashboards/DemoDetailedBugInfo.json index df10f937df0..61398ff4b44 100644 --- a/grafana/dashboards/DemoDetailedBugInfo.json +++ b/grafana/dashboards/DemoDetailedBugInfo.json @@ -308,7 +308,7 @@ "to": "now" }, "timepicker": {}, - "timezone": "", + "timezone": "utc", "title": "Demo-Detailed Bug Info", "uid": "s48Lzn5nz", "version": 8 diff --git a/grafana/dashboards/DemoHomepage.json b/grafana/dashboards/DemoHomepage.json index c299847da60..f5947ba1901 100644 --- a/grafana/dashboards/DemoHomepage.json +++ b/grafana/dashboards/DemoHomepage.json @@ -184,7 +184,7 @@ "to": "now" }, "timepicker": {}, - "timezone": "", + "timezone": "utc", "title": "Demo-Homepage", "uid": "0Rjxknc7z", "version": 2 diff --git a/grafana/dashboards/DemoHowFastDoWeRespondToCustomerRequirements.json b/grafana/dashboards/DemoHowFastDoWeRespondToCustomerRequirements.json index 863541eb4ca..5a4b1ccfadb 100644 --- a/grafana/dashboards/DemoHowFastDoWeRespondToCustomerRequirements.json +++ b/grafana/dashboards/DemoHowFastDoWeRespondToCustomerRequirements.json @@ -216,7 +216,7 @@ "to": "now" }, "timepicker": {}, - "timezone": "", + "timezone": "utc", "title": "Demo-How fast do we respond to customer requirements?", "uid": "SupYz7c7z", "version": 4 diff --git a/grafana/dashboards/DemoIsThisMonthMoreProductiveThanLast.json b/grafana/dashboards/DemoIsThisMonthMoreProductiveThanLast.json index 520b41f7c5d..e59181e73be 100644 --- a/grafana/dashboards/DemoIsThisMonthMoreProductiveThanLast.json +++ b/grafana/dashboards/DemoIsThisMonthMoreProductiveThanLast.json @@ -246,7 +246,7 @@ "to": "now" }, "timepicker": {}, - "timezone": "", + "timezone": "utc", "title": "Demo-Is this month more productive than last?", "uid": "ddREk75nk", "version": 3 diff --git a/grafana/dashboards/DemoWasOurQualityImprovedOrNot.json b/grafana/dashboards/DemoWasOurQualityImprovedOrNot.json index acb70c618e3..a44614f495f 100644 --- a/grafana/dashboards/DemoWasOurQualityImprovedOrNot.json +++ b/grafana/dashboards/DemoWasOurQualityImprovedOrNot.json @@ -213,7 +213,7 @@ "to": "now" }, "timepicker": {}, - "timezone": "", + "timezone": "utc", "title": "Demo-Was our quality improved or not?", "uid": "G4DEk75nz", "version": 4 diff --git a/grafana/dashboards/EngineeringOverview.json b/grafana/dashboards/EngineeringOverview.json index 33592883f0a..e2e6cdede52 100644 --- a/grafana/dashboards/EngineeringOverview.json +++ b/grafana/dashboards/EngineeringOverview.json @@ -2378,7 +2378,7 @@ }, "timeRangeUpdatedDuringEditOrView": false, "timepicker": {}, - "timezone": "", + "timezone": "utc", "title": "Engineering Overview", "uid": "ZF6abXX7z", "version": 15, diff --git a/grafana/dashboards/EngineeringThroughputAndCycleTime.json b/grafana/dashboards/EngineeringThroughputAndCycleTime.json index 3dde5180e44..a9f1c9e48b3 100644 --- a/grafana/dashboards/EngineeringThroughputAndCycleTime.json +++ b/grafana/dashboards/EngineeringThroughputAndCycleTime.json @@ -1956,7 +1956,7 @@ "to": "now" }, "timepicker": {}, - "timezone": "", + "timezone": "utc", "title": "Engineering Throughput and Cycle Time", "uid": "Jaaimc67k", "version": 1, diff --git a/grafana/dashboards/EngineeringThroughputAndCycleTimeTeamView.json b/grafana/dashboards/EngineeringThroughputAndCycleTimeTeamView.json index f73a3c77c82..c9cd453387c 100644 --- a/grafana/dashboards/EngineeringThroughputAndCycleTimeTeamView.json +++ b/grafana/dashboards/EngineeringThroughputAndCycleTimeTeamView.json @@ -3411,7 +3411,7 @@ "to": "now" }, "timepicker": {}, - "timezone": "", + "timezone": "utc", "title": "Engineering Throughput and Cycle Time - Team View", "uid": "nJ1ijje7k", "version": 1, diff --git a/grafana/dashboards/GitHub.json b/grafana/dashboards/GitHub.json index f59d608c46d..89bc8842b50 100644 --- a/grafana/dashboards/GitHub.json +++ b/grafana/dashboards/GitHub.json @@ -3650,7 +3650,7 @@ "to": "now" }, "timepicker": {}, - "timezone": "", + "timezone": "utc", "title": "GitHub", "uid": "KXWvOFQnz", "version": 25, diff --git a/grafana/dashboards/GithubReleaseQualityAndContributionAnalysis.json b/grafana/dashboards/GithubReleaseQualityAndContributionAnalysis.json index db64e2d8c44..f2c354145b5 100644 --- a/grafana/dashboards/GithubReleaseQualityAndContributionAnalysis.json +++ b/grafana/dashboards/GithubReleaseQualityAndContributionAnalysis.json @@ -2705,7 +2705,7 @@ "to": "now" }, "timepicker": {}, - "timezone": "", + "timezone": "utc", "title": "GitHub_Release_Quality_and_Contribution_Analysis", "uid": "2xuOaQUnk4", "version": 3 diff --git a/grafana/dashboards/Gitlab.json b/grafana/dashboards/Gitlab.json index a4c12633c32..a45bb37f6a7 100644 --- a/grafana/dashboards/Gitlab.json +++ b/grafana/dashboards/Gitlab.json @@ -2319,7 +2319,7 @@ "to": "now" }, "timepicker": {}, - "timezone": "", + "timezone": "utc", "title": "GitLab", "uid": "msSjEq97z", "version": 27, diff --git a/grafana/dashboards/Homepage.json b/grafana/dashboards/Homepage.json index 156f0005557..436b7e86ad6 100644 --- a/grafana/dashboards/Homepage.json +++ b/grafana/dashboards/Homepage.json @@ -302,7 +302,7 @@ "to": "now" }, "timepicker": {}, - "timezone": "", + "timezone": "utc", "title": "Homepage", "uid": "lCO8w-pVk", "version": 4, diff --git a/grafana/dashboards/Jenkins.json b/grafana/dashboards/Jenkins.json index 184a44871da..7c1a9db8138 100644 --- a/grafana/dashboards/Jenkins.json +++ b/grafana/dashboards/Jenkins.json @@ -1194,7 +1194,7 @@ "to": "now" }, "timepicker": {}, - "timezone": "", + "timezone": "utc", "title": "Jenkins", "uid": "W8AiDFQnk", "version": 2, diff --git a/grafana/dashboards/Jira.json b/grafana/dashboards/Jira.json index 13ea39dfdc6..a18e46b3f27 100644 --- a/grafana/dashboards/Jira.json +++ b/grafana/dashboards/Jira.json @@ -1240,7 +1240,7 @@ }, "timeRangeUpdatedDuringEditOrView": false, "timepicker": {}, - "timezone": "", + "timezone": "utc", "title": "Jira", "uid": "F5vqBQl7z", "version": 2, diff --git a/grafana/dashboards/Opsgenie.json b/grafana/dashboards/Opsgenie.json index d42cb874f95..2ab5a9e62b0 100644 --- a/grafana/dashboards/Opsgenie.json +++ b/grafana/dashboards/Opsgenie.json @@ -1528,7 +1528,7 @@ "to": "2025-06-16T21:00:42.390Z" }, "timepicker": {}, - "timezone": "", + "timezone": "utc", "title": "Opsgenie", "uid": "b4556439-f173-4411-93d4-65f261726d24", "version": 1, diff --git a/grafana/dashboards/PagerDuty.json b/grafana/dashboards/PagerDuty.json index fddb725e49f..fcf63114531 100644 --- a/grafana/dashboards/PagerDuty.json +++ b/grafana/dashboards/PagerDuty.json @@ -1287,7 +1287,7 @@ "to": "now" }, "timepicker": {}, - "timezone": "", + "timezone": "utc", "title": "PagerDuty", "uid": "abb26d07-3268-4bdf-b871-6e39b37b9e00", "version": 2, diff --git a/grafana/dashboards/Sonarqube.json b/grafana/dashboards/Sonarqube.json index 2db210b3d10..fc6001d770a 100644 --- a/grafana/dashboards/Sonarqube.json +++ b/grafana/dashboards/Sonarqube.json @@ -1313,7 +1313,7 @@ "to": "now" }, "timepicker": {}, - "timezone": "", + "timezone": "utc", "title": "SonarQube", "uid": "WA0qbuJ4k", "version": 2, diff --git a/grafana/dashboards/TAPD.json b/grafana/dashboards/TAPD.json index 66af4057c5e..da960da5293 100644 --- a/grafana/dashboards/TAPD.json +++ b/grafana/dashboards/TAPD.json @@ -1187,7 +1187,7 @@ "to": "now" }, "timepicker": {}, - "timezone": "", + "timezone": "utc", "title": "TAPD", "uid": "hi-907hVk", "version": 2, diff --git a/grafana/dashboards/Teambition.json b/grafana/dashboards/Teambition.json index c8d139a02a7..743884e1540 100644 --- a/grafana/dashboards/Teambition.json +++ b/grafana/dashboards/Teambition.json @@ -1187,7 +1187,7 @@ "to": "now" }, "timepicker": {}, - "timezone": "", + "timezone": "utc", "title": "Teambition", "uid": "hi-908hVk", "version": 2, diff --git a/grafana/dashboards/WeeklyBugRetro.json b/grafana/dashboards/WeeklyBugRetro.json index 878c8bba93f..ab297f14004 100644 --- a/grafana/dashboards/WeeklyBugRetro.json +++ b/grafana/dashboards/WeeklyBugRetro.json @@ -2241,7 +2241,7 @@ }, "timeRangeUpdatedDuringEditOrView": false, "timepicker": {}, - "timezone": "", + "timezone": "utc", "title": "Weekly Bug Retro", "uid": "-5EKA5w7k", "version": 5, diff --git a/grafana/dashboards/WeeklyCommunityRetro.json b/grafana/dashboards/WeeklyCommunityRetro.json index 6c8605b6fc9..fdf6ed989d3 100644 --- a/grafana/dashboards/WeeklyCommunityRetro.json +++ b/grafana/dashboards/WeeklyCommunityRetro.json @@ -2439,7 +2439,7 @@ "to": "now" }, "timepicker": {}, - "timezone": "", + "timezone": "utc", "title": "Weekly Community Retro", "uid": "VTr6Y_q7z", "version": 2, diff --git a/grafana/dashboards/WorkLogs.json b/grafana/dashboards/WorkLogs.json index 2055af6d58b..d025e6d5dc8 100644 --- a/grafana/dashboards/WorkLogs.json +++ b/grafana/dashboards/WorkLogs.json @@ -1467,7 +1467,7 @@ "to": "now" }, "timepicker": {}, - "timezone": "", + "timezone": "utc", "title": "Work Logs", "uid": "d449042e-22f0-4357-b8b7-22083f47618d", "version": 1, diff --git a/grafana/dashboards/Zentao.json b/grafana/dashboards/Zentao.json index 072f6e4f1df..dbde7eb46bf 100644 --- a/grafana/dashboards/Zentao.json +++ b/grafana/dashboards/Zentao.json @@ -1187,7 +1187,7 @@ "to": "now" }, "timepicker": {}, - "timezone": "", + "timezone": "utc", "title": "Zentao", "uid": "yMb4MKh4k", "version": 2,