Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Checking connection status #93

Open
awnyshaheen opened this issue Mar 21, 2022 · 1 comment
Open

Checking connection status #93

awnyshaheen opened this issue Mar 21, 2022 · 1 comment

Comments

@awnyshaheen
Copy link

Hey,
I think one missing method that should be there for sure is
test_connection()
something that tells you that the connection info you inserted in GrafanaFacade constructor are valid

Thanks in advance

@amotl
Copy link

amotl commented May 20, 2022

Dear @awnyshaheen,

thank you for your suggestion. We recently forked this repository to 1, see #88. On the matter of your question, I think sending a request to the /health endpoint 2 might be what you are looking at?

With kind regards,
Andreas.

/cc @sonegomaximiliano

Footnotes

  1. https://github.com/panodata/grafana-client

  2. https://github.com/panodata/grafana-client/blob/main/grafana_client/elements/health.py

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants