Open bencekov opened 9 months ago
@simskij pointed out that a healthcheck is impl'd but for me the issue still persists.
@simskij also pointed out that prometheus health could be checked via the grafana proxy like so:
$ curl "http://10.1.166.122:3000/api/datasources/proxy/uid/P5DE4FBB56E88771A/-/healthy" -u admin:jsbSwIxR6Dg6
Prometheus Server is Healthy.
The tests in test_trusted_certificates.py are whitebox tests. A blackbox test would be less brittle and would better cover what we want to cover. Example.
I think a better itest would be
The problem is that for some reason querying for datasource health doesn't work:
Any ideas?
_Originally posted by @sed-i in https://github.com/canonical/grafana-k8s-operator/pull/279#discussion_r1414881765_ Comment edited for context by @bencekov