-
Notifications
You must be signed in to change notification settings - Fork 13
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
API for retrieving leases #50
Comments
Noted! The workaround right now is by talking to the sqlite database directly, but I agree a API in dora would be nice |
I looked inside the DB and couldn't find that info? |
it should be there if you have any leases? for example:
and the table is in
if you needed to find say, all the leases where the expiry time was great than now, you could do:
However, I agree this is not an ideal way to get the information, I think something like this should be added |
You're talking about the client_id? The hostnames I'm dealing with are ASCII but the client_id is some binary gibberish |
Oh, you can change that to different formats in your query:
|
There already seems to be an API for metrics/health etc.
An API to show the current active leases would be awesome. Specifically, I need to communicate the leases to my DNS server for internal hostname resolution
The text was updated successfully, but these errors were encountered: