JSON Source URL

Hi. I’m currently trying to use this API https://api.covid19api.com/summary to create a dashboard in Grafana using Windows 10. Which I got the data source from the video tutorial of Infinity. Unfortunately, the data won’t load on my end. Does anyone knows what is happening and how to fix it? Thank you

Welcome

Use the following instead

$.Countries

Still not working on my end. I’m having this error attached below. Can you figure out the problem? Thank you.

what visualization are you using and what version of grafana?

I’m using the version 8.5.5. I’m still learning on how to make use of grafana and currently trying the bar chart from these selected columns

What does it say when you hover over the exclamation top left

image

Can you make sure the URL field in the datasource settings is empty. That may also cause this issue.

Funny thing is it works well with my setup.

2 Likes

:joy:

--Also using UQL
parse-json
| scope  "Countries"

I also added a countries variable to filter down the data using this

https://raw.githubusercontent.com/google/dspl/master/samples/google/canonical/countries.csv

But unsure how to use jsonata to filter by country
@yesoreyeram might know :wink:

Yes, it’s empty. I’m not really sure why it’s not working on my end. I’m don’t think I missed something when I added the Infinity plugin on my system.

Please post here the json representation of your dashboard or maybe start from scratch?

1 Like

have you tried with root selector like this : Countries

I found out that the problem is on the network. Thank you for your answers.

1 Like

@diazstephanie - Glad you figured out the root cause. When talking about the network issue, you may need to check your proxy settings. Anyhow if your server have HTTP_PROXY or HTTPS_PROXY environment variable configured, plugin will respect that as well.

2 Likes