Hy guys using grafana to check my proxmox machine and it’s working very well. Thanks to everybody that created this awesome tool. I was trying to expand grafana to another areas like the weather from my hometown. here is the problem :
I’m using mariadb has database and if i do this in terminal:
SELECT data , tempmini ,tempmax FROM tempo;
it works :
±--------------------±---------±--------+
| data | tempmini | tempmax |
±--------------------±---------±--------+
| 2019-06-12 01:50:28 | 7 | 20 |
±--------------------±---------±--------+
but i can’t do this on grafana.
i use this query on grafana:
’
SELECT
data as “time”,
tempmax,
tempmini
FROM tempo
’
But doesn’t show any type of data but i can see the tables on query inspector…
Query that i use to create the database:
CREATE TABLE tempo
(
id
INT NOT NULL AUTO_INCREMENT,
data
DATETIME,
precipitacao
INT,
tempmini
INT,
tempmax
INT,
classveloventviseu
INT,
PRIMARY KEY (id
)
);
Can anyone please find me a solution?