grafana / opensearch-datasource

Apache License 2.0
27 stars 21 forks source link

Implement backend health check #485

Closed iwysiu closed 3 weeks ago

iwysiu commented 3 weeks ago

What this PR does / why we need it: Implements a separate health check in the backend (instead of just using the resource call). I made it call the backend health check if the toggle is enabled because testDatasource call returns the least helpful errors possible when the uses the resource call going through the backend.

Which issue(s) this PR fixes:

Fixes #468

Special notes for your reviewer: