Test connection to the JSON endpoint
The settings for the Infinity data source on the configuration page don’t automatically validate the URL. To ensure that your settings, including authentication and API keys, are valid, you need to enable the custom health check in the Health check section of the Configuration page.
Note: The custom health check supports only HTTP GET methods. It verifies the response status code, specifically looking for an HTTP 200 status, but doesn’t check the content of the response.
In this section, you enable the custom health check and test that Grafana Cloud can reach your JSON endpoint.
To test the connection to the JSON endpoint, complete the following steps:
On the data source configuration page, select the Health check tab.
Click the Enable custom health check toggle.
Enter the JSON endpoint URL.
For example, enter
https://thingspeak.mathworks.com/channels/38629/feed.json. This JSON endpoint is available to the public and we’ll use it in this journey, but you should use a URL that returns the data you want to use.Click Save & test.
When the check succeeds, you see a Health check successful message, which confirms Grafana Cloud can reach your JSON endpoint.
In the next milestone you select a private data source connect agent.
Troubleshooting
Explore the following troubleshooting topics if you need help:
Please tell us what didn't work: