-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Configurable time format and time related bugfixes (#198)
* feat: Configurable time format. Time format used in the reports can be configured either from UI, env var or provisioned config. The format must conform to Golang's time layout. Any invalid time format will be ignored and replaced with default UnixDate layout. Starting from Grafana v11.3.0, the current dashboard's timezone is presented as a query parameter `timezone`. We use it to render panels and the plugin's own `timeZone` query parameter is a noop now. We left the parameter to support instances < 11.3.0 * fix: Support time string for from and to query params. Starting from Grafana v11.3.0, to and from query parameters are set as time strings whereas they were set to unix timestamps before. * chore: Move config validation into Config struct receiver --------- Signed-off-by: Mahendra Paipuri <mahendra.paipuri@gmail.com>
- Loading branch information
1 parent
087f292
commit 199e47a
Showing
11 changed files
with
207 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.