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

Wrapper for the rqlite status API? #42

Open
rgl opened this issue Jun 15, 2024 · 3 comments
Open

Wrapper for the rqlite status API? #42

rgl opened this issue Jun 15, 2024 · 3 comments

Comments

@rgl
Copy link

rgl commented Jun 15, 2024

I would like to include the rqlite version in my application logs, but I didn't find a wrapper for the rqlite status API. Can that be added, or should we do that ourselves (as-in the rqlite cli)?

@otoolep
Copy link
Member

otoolep commented Jun 16, 2024

Yeah, I do not believe it's exposed via the client library. It's easy to add it, PRs very welcome.

@otoolep
Copy link
Member

otoolep commented Jun 16, 2024

You can also access the version of rqlite via any HTTP request, as it's added as the HTTP header X-RQLITE-VERSION in all responses by rqlited.

@zhangyongding
Copy link

I think it's possible to consider returning the versions of all nodes in the nodes interface. because X-RQLITE-VERSION only returns the version of the current node

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

3 participants