Apologies for the question. I have googled and looked around the forum before asking. Very new to grafana and have a question relating to visual display for datetime. There are numerous things scattered here and there but nothing concrete enough for me to try.
Just for a test I have a pi4 logging mysql temperatures in part of the building.
logdatetime datetime NOT NULL COMMENT ‘Date Time Logged’);
I would like if possible for the date on graph haver to display a more UK centric format. This being dd-mm-yyy 00:00:00
If someone could offer some assistance it would be gratefully received. Although the test case is working it would be good to have a correct format for graph interrogation.
Edit 30/03/2021 Sorry for the other non title related information. It may however helps others that are new to the grafana concepts.
It’s possible from Grafana 7.2 by changing server wide settings config file. How you do that will depend on your platform but for me on Ubuntu Linux for example:
vi /etc/grafana/grafana.ini
ADD TO END (assuming not already present in .ini file):
Many thanks codlord. That had the desired effect. Now I have to work out how to display pre defined time periods. I get the selection tool top right. Just trying to figure out how you go about utilising the same data point on multiple panels but display different time frames. For instance a month / year / last year etc. Great piece of software, lot to learn but enjoying it.
The only thing that confuses me is when you go into the edit facility it always shows the last date range you selected for a panel.
For instance edit previous seven days and it shows previous year from other panel. I would have thought the panel view would have remembered the time range from each panel?. I could have possibly grabbed the wrong end of the stick here but it seems strange.
In actual fact I spoke too soon. It appears that after a refresh I have 7 days on both panels now. So I’m a bit confused on how you retain different date / time periods independent of panels.
The time range is applied on a dashboard level, not a panel level. So any changes to the time range (even while editing a single panel) will apply to all panels in the dashboard.
Also when selecting the last hours it shows a blank page. Again I’m probably being incredibly green here. Is it not a case that grafana queries the mysql on demand by refresh or by time period?.