Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose db connection status as a metric #63

Open
markxnelson opened this issue Feb 12, 2024 · 0 comments
Open

Expose db connection status as a metric #63

markxnelson opened this issue Feb 12, 2024 · 0 comments

Comments

@markxnelson
Copy link
Member

Expose the current database connection (pool) status as a simple internal metric (up/down) to enable easy detection of connection issues.

Note that the driver does not actually connect to the database when Open() is called, only when Ping() is called or you try to run a query.

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

No branches or pull requests

1 participant