Best way to monitor datasources health?

Hello everyone,

I was wondering what the best way to monitor datasources health status would be? (that would allows us to receive alerts)

One of the ways that I could think of, was to use Health Status check queries to the different datasources, add them to a dashboard as graph and create an alert for when there’s errors, timeouts or no data.

Is there any way to test datasource connecting via API?

Any help is much appreciated!