Hi! I am trying to display weather information in grafana. I am trying to use the simpleJson data source but I get the failed to fetch error, I would apreciate if you help me to solve this problem. In the next image I show the data source configuration:
And if I make the request using the browser I get this data:
// 20230412070907
// http://api.openweathermap.org/data/2.5/weather?q=Las%20Palmas%20de%20Gran%20Canaria,ES&appid=03004ee60d48a2dc8b3fa4cce0e59a17
{
"coord": {
"lon": -15.4134,
"lat": 28.0997
},
"weather": [
{
"id": 800,
"main": "Clear",
"description": "clear sky",
"icon": "01n"
}
],
"base": "stations",
"main": {
"temp": 295.22,
"feels_like": 294.61,
"temp_min": 295.22,
"temp_max": 295.22,
"pressure": 1016,
"humidity": 43
},
"visibility": 10000,
"wind": {
"speed": 7.72,
"deg": 10
},
"clouds": {
"all": 0
},
"dt": 1681279629,
"sys": {
"type": 1,
"id": 2378,
"country": "ES",
"sunrise": 1681281599,
"sunset": 1681327477
},
"timezone": 3600,
"id": 2515270,
"name": "Las Palmas de Gran Canaria",
"cod": 200
}