Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

How to configure time units in grafana? #419

Open
melezhik opened this issue Dec 15, 2022 · 2 comments
Open

How to configure time units in grafana? #419

melezhik opened this issue Dec 15, 2022 · 2 comments
Labels
type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@melezhik
Copy link

Hi devs! Right now I have a following lead time for changes graph:

graph

I would like to configure a dashboard to show time in days, not hours , is it possible? 800 hours is not easy thing to digest )))

@melezhik melezhik changed the title How to configure time units in graphana? How to configure time units in grafana? Dec 15, 2022
@averikitsch averikitsch added the type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. label Jan 12, 2023
@fbtravi
Copy link
Contributor

fbtravi commented Jun 3, 2023

Change this line

SELECT\n day,\n IFNULL(ANY_VALUE(med_time_to_change)/60/24, 0) AS median_time_to_change

@fbtravi
Copy link
Contributor

fbtravi commented Jun 5, 2023

Hi,

Created PR for complete solution

Look at my PR and see if it's satisfactory

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

3 participants